Ten Commandments of Killing Server Performance
I’m looking at performance testing at work this week and I came across the ‘Ten Commandments of Killing Server Performance’. It’s an oldie, but a goodie - especially if you are working in testing.
Here’s the abridged version:
- Thou shalt allocate and free lots of objects.
- Thou shalt not think about processor cache.
- Thou shalt never cache frequently used data.
- Thou shalt create lots of threads. The more, the merrier.
- Thou shalt use global locks for data structures.
- Thou shalt not pay attention to multiprocessor machines.
- Thou shalt use blocking calls all the time; they are fun.
- Thou shalt not measure.
- Thou shalt use single-client, single-request testing.
- Thou shalt not use real-world scenarios.
February 20th, 2008 at 8:23 pm
Funnily enough, the guy who wrote that is from Dublin…
February 20th, 2008 at 8:31 pm
Yeah, I thought it was a nice bonus
February 28th, 2008 at 12:23 am
Nice, these might come in handy for me too soon