Ask HN: Does thread based webservice scale with websockets? 4 points by filipedeschamps 12y ago ↗ HN Will it suffer the same problems of concurrency vs threads or not?
[–] wmf 12y ago ↗ It depends on your runtime and your scalability goal. 10,000 threads is possible in some circumstances but 1M is probably not possible. [–] filipedeschamps 12y ago ↗ But for every socket, the webservice will open 1 thread? [–] wmf 12y ago ↗ That's one way to design it. [–] filipedeschamps 12y ago ↗ But since it's thread based, it's going to be default, right?
[–] filipedeschamps 12y ago ↗ But for every socket, the webservice will open 1 thread? [–] wmf 12y ago ↗ That's one way to design it. [–] filipedeschamps 12y ago ↗ But since it's thread based, it's going to be default, right?
[–] wmf 12y ago ↗ That's one way to design it. [–] filipedeschamps 12y ago ↗ But since it's thread based, it's going to be default, right?
4 comments
[ 3.9 ms ] story [ 23.4 ms ] thread