News for hackers. Stuff that matters.
Re:Go vs. Python for a simple web server by nitrogen on Wednesday June 22, 2011 @03:04PM (#2684587)
the only difference being that on an SMP system, the OS could schedule the thread on a different processor.

There's a bit more to it than that. The OS will frequently block and preempt the long-running thread even on a single CPU system, allowing other, shorter requests to be processed in the mean time.

Re:Go vs. Python for a simple web server by otterley on Wednesday June 22, 2011 @07:36PM (#2685897)
I'm assuming for this example that every request has equal CPU impact. Preempting the running thread in this case won't improve overall request throughput on a single-CPU system. Adding concurrency here will simply increase response latency.