Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment: Re:Blaming Linux... (Score 2, Insightful) 178

by The_Abortionist (#26146863) Attached to: Scaling Facebook To 140 Million Users

Linux is pretty terrible for performance multi-threading, that's a fact. It features unreliable file IO too, but I digress..

In the case of Facebook, it's true that it's not the OS fault since Mutexes are always slow anyway.

There are lockless libraries that lock the CPU(s) for one cycle so that the program doesn't need to lock a mutex to increment a counter, for example. Thousands of times faster...

But these wouldn't have helped there. Like you said, it just seems like a design problem in the software. Still 140M users is very impressive.

"Ada is PL/I trying to be Smalltalk. -- Codoso diBlini

Working...