-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Concurrency. #52
Add Concurrency. #52
Conversation
@JeremyTCD
For multi-processing - cool, less overhead compared to a cluster |
If
Yeah agreed, tried cluster it's really slow. Requests go to a master then get sent by IPC to workers, so 2x latency. I think this implementation may be faster than basic worker threads. We'll see. |
- Separated into latency, concurrency and real workload categories.
5ef9da6
to
72ab943
Compare
Codecov Report
@@ Coverage Diff @@
## master #52 +/- ##
==========================================
- Coverage 97.36% 96.81% -0.56%
==========================================
Files 17 18 +1
Lines 494 533 +39
==========================================
+ Hits 481 516 +35
- Misses 13 17 +4
Continue to review full report at Codecov.
|
670aa95
to
18a3550
Compare
18a3550
to
daf3fcb
Compare
Published 5.1.0 with out-of-the-box multi-process concurrency. Decided not to implement multi-threading using workers:
API allows for adding it in future though. |
INodeJSService
s.