Skip to content
Discussion options

You must be logged in to vote

Yeah this performance improvement was introduced in #1126 (1.3 I think). We changed it from dispatching requests round-robin-style to prioritizing lower-number worker threads, which reduces the number of connections, memory usage and contention. You should only need 80 connections if you actually handle 80 concurrent requests.

The app will still be bootstrapped 80 times with 80 threads though, connections are usually only established once they are first needed. 1.5 also introduced a new max_threads configuration, which allows starting threads at runtime and actually only bootstraps once needed. So a configuration like this would always have 5 threads, but bootstrap up to 80 threads once t…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by thomas-hiron
Comment options

You must be logged in to vote
1 reply
@AlliBalliBaba
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants