Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Ask HN: Does thread based webservice scale with websockets?
4 points
filipedeschamps
12y ago
4 comments
Save
Share
Will it suffer the same problems of concurrency vs threads or not?
4 comments
3 comments · 1 top-level
top
newest
oldest
wmf
12y ago
· 2 in thread
It depends on your runtime and your scalability goal. 10,000 threads is possible in some circumstances but 1M is probably not possible.
filipedeschamps
OP
12y ago
But for every socket, the webservice will open 1 thread?
wmf
12y ago
That's one way to design it.
1 more reply
j
/
k
navigate · click thread line to collapse