News for hackers. Stuff that matters.
Re:Don't Bet on Moore Saving Your Ass by ntoshev on Thursday January 08, 2009 @08:10AM (#424837)
I'd be curious to know what you think about this alternative architecture:

http://mailinator.blogspot.com/2008/08/benchmarking-talkinat...

Paul Tyma claims handling 40000 chat messages per second on a quad core desktop system with it.

Re:Don't Bet on Moore Saving Your Ass by axod on Thursday January 08, 2009 @02:18PM (#425451)
I tried a similar sort of architecture at one point, the issue is that if you share blocking calls in a thread, at some point something will block that you don't expect to.

It's also just far far simpler to go with a single networking thread. Then pass off any cpu intensive, or long running tasks, or blocking tasks, to other threads.