Richard Bucker

Code performance and optimization checklist

Posted at — Dec 10, 2013

Inspired by hadoop’s latest performance improvement announcement. Here is a checklist of things to consider when looking to improve the performance of your application:Network contentionHard disk I/O contentionMemory requirements and swap usageMutex and semaphoresAll things being equal; Once you get past this list of (hardware) optimizations what remains is strictly CPU bound by the number of lines of code that executes per task.