Y
Hacker News
new
|
ask
|
show
|
jobs
by
icedchai
1314 days ago
I'd argue that thread-per-request is even a better idea now, given the massive number of cores and memory in modern servers.
1 comments
mrfox321
1314 days ago
Hybrid?
Request passed to a thread pool. Each thread is juggling coroutines representing in flight requests
link
icedchai
1313 days ago
Is that worth the complexity? I like the way Go does it. The runtime is managing the actual threading and async IO as it schedules go routines, but to the programmer it all looks like normal synchronous code.
link
Request passed to a thread pool. Each thread is juggling coroutines representing in flight requests