You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the node.js test benchmarks in the repository, the server really struggles to complete even 100 concurrent requests. Is this expected behaviour or is the server misconfigured somehow? Most of the time the server does not process all requests, it stops after ~50-60 requests.
Background
Similar to #29, we are experiencing weird behaviour when running KERIA, so trying to create minimal reproducible examples.
The text was updated successfully, but these errors were encountered:
Concurrency limit changed. Fixed with hio 0.6.10 see #32
Explanation, the legacy default python tcp socket connection listen backlog is 5. Later versions of the python socket library now allow a higher limit that is constrained by the number of tcp socket connections allowed by SOMAXCONN which now defaults to 128 on most systems (macOS and Linux).
Changed the hio tcp server to default to 128 for the listen backlog. This is now a parameter that gets passed in so when can later come back and configure it to be higher if the system SOMAXCONN is set higher. This now allows up to 128 concurrent connection requests. The performance limitation now on the hio http server is well the code path in python for processing the http request which includes all the overhead. This is single threaded single core performance of pure python http server and Falcon ReST framework.
Please see reference repo here: https://github.com/lenkan/hio-transfer-encoding-test.
When running the node.js test benchmarks in the repository, the server really struggles to complete even 100 concurrent requests. Is this expected behaviour or is the server misconfigured somehow? Most of the time the server does not process all requests, it stops after ~50-60 requests.
Background
Similar to #29, we are experiencing weird behaviour when running KERIA, so trying to create minimal reproducible examples.
The text was updated successfully, but these errors were encountered: