3 ms·
> Due to how Linux works (see the first link in this blog post), most of the load goes to a few workers out of the pool. I'm a little disappointed that the au
by mwcampbell 7y ago
> Due to how Linux works (see the first link in this blog post), most of the load goes to a few workers out of the pool.
I'm a little disappointed that the author apparently decided to accept and work around brokenness in the OS, though I admit that sometimes I do this myself. I read the linked blog post, and I wonder if Cloudflare uses any of the proposed kernel patches for fixing the broken LIFO behavior of epoll.
- ciprian_craciun 7y agoThe main issue here is not the `accept()` syscall unfairness, but the fact that the client connection is tied to the backend connection, and thus an imbalance can be easily created if that client sends requests which are out of the "average" behaviour.