Skip to content
Discussion options

You must be logged in to vote

The example server creates a thread pool for processing requests.
The number of threads in the pool is passed in the call to create_CalculatorServer.
In the example, a value of 0 is used, which is equivalent to passing 1.
Passing a bigger number will make the server process requests in parallel.

Also, as explained in this section of the documentation, you can pass a custom scheduler when creating the server, instead of using the default (thread pool) one.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by yaseiva
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