3 ms·
> A server can handle upward of a million concurrent open sockets, yet the operating system cannot efficiently handle more than a few thousand active (non-idle)
by e12e 6y ago
> A server can handle upward of a million concurrent open sockets, yet the operating system cannot efficiently handle more than a few thousand active (non-idle) threads.
Does anyone have a reference to some up to date notes on the state of scalability of Linux and/or free-/dragonfly-bsd scalability at the process level?
I don't doubt processes are a bit heavy for scaling to a million active threads of execution - but it'd be nice to see what one could expect on a low end server (say 16 cores, 64gb ram) today?
- zokier 6y agoI'd also be curious about this. C10k was a problem at the turn of the century but world has changed a lot since, both in terms of hardware and kernel. Best reference I could easily find was this experiment that had 100k connections to mysql which has thread per connection model. Seems to handle it well https://www.percona.com/blog/2019/02/25/mysql-challenge-100k-connections/ https://www.percona.com/blog/2019/02/25/mysql-challenge-100k...