Ask HN: Does thread based webservice scale with websockets?

4 points by filipedeschamps ↗ HN
Will it suffer the same problems of concurrency vs threads or not?

4 comments

[ 3.9 ms ] story [ 23.4 ms ] thread
It depends on your runtime and your scalability goal. 10,000 threads is possible in some circumstances but 1M is probably not possible.
But for every socket, the webservice will open 1 thread?
That's one way to design it.
But since it's thread based, it's going to be default, right?