10 Ways to Reduce Lock Contention in Threaded Programs
I see this mistake quite often: people have a performance or scalability problem with their threaded code and start blaming locks. Because everyone knows that locks are slow and limit scalability (yes, that was ironic ). They start to optimize their code by getting rid of the locks entirely, e.g. by messing around with [...]