Hello together,
i am pretty new in using grpc, so there is a good chance for me causing the problem by myself.
We have a synchronous server runni ng which handles requests from multiple asynchronous clients.
Both cpp.
The handling method runs to a blocking mutex.
If I start a stress test, I can watch the active threads of the server process grow rapidly to about 1400 threads, causing the server to crash. (32 bit – win10)
I read that grpc uses a thread-pool for he RPCs – Is there a way to limit the number of threads?
Might there be a problem within grpc or do I get something wrong?
For any hints - thanks in advance
Florian
Mit freundlichen Grüßen | Best regards
Florian Otto
Softwareentwicklung
M.A.i GmbH & Co. KG
Hummendorfer Straße 74
96317 Kronach - Neuses
Deutschland
|
|
|
Registergericht: Amtsgericht Coburg HRA 3740
Geschäftsführer: Rainer Knaak, Arthur Schwab, Hermann Fischer, Markus Orlowski