News for hackers. Stuff that matters.
Re:Why events are a bad idea for high-concurrency servers (2... by Jweb_Guru on Thursday January 30, 2020 @02:50PM (#22194765)
Sure, if you are devoting the whole computer to a single microbenchmark, threads a terrible idea. This is not necessarily the case when you have many heterogeneous applications running on a machine, though.
Re:Why events are a bad idea for high-concurrency servers (2... by rezonant on Thursday January 30, 2020 @06:54PM (#22197356)
I'm a little confused by this- if you have multiple independent apps on a machine, would they not already be in separate OS processes?
Re:Why events are a bad idea for high-concurrency servers (2... by Jweb_Guru on Wednesday February 05, 2020 @03:03AM (#22244865)
Sure, but they still use the same kernel scheduling that threads do, and careful optimizations relying on core count = thread count are going to be basically worthless as well.