|
|
|
|
|
by erichocean
4534 days ago
|
|
Is there that much to be gained in avoiding kernel/user-space transitions? Yes, there's at least an order-of-magnitude improvement in packet processing, for example, if you bypass the kernel. Our mobile app runs WebSocket-like connections over UDP with libsodium for crypto, and we're moving our stack off of Node.js for exactly that reason. |
|
Things like file descriptor limits or numbers of connections are more of a pain in modern times, not necessarily a context-switch caused problem.