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
{{ message }}
This repository has been archived by the owner on May 4, 2018. It is now read-only.
It would be really great to avoid having to implement the complexity of https://github.com/joyent/libuv/blob/master/test/benchmark-multi-accept.c and avoid sending over IPC to load balance on other event loops. I find this code hard to follow and it's the part I struggle with the most out of all my libuv calling code.
Potentially latency can be improved if this isn't done over IPC?
The text was updated successfully, but these errors were encountered:
I agree with the general observation that this could be done better.
The way to go IMO would be to add an easier API to share handles within a process. Then the user could create a separate thread w/ an event loop that dispatches incoming connections to the different worker threads/loops.
It would be really great to avoid having to implement the complexity of https://github.com/joyent/libuv/blob/master/test/benchmark-multi-accept.c and avoid sending over IPC to load balance on other event loops. I find this code hard to follow and it's the part I struggle with the most out of all my libuv calling code.
Potentially latency can be improved if this isn't done over IPC?
The text was updated successfully, but these errors were encountered: