4 ms·
Use caching as a last resort, not as a fundamental design strategy Resist excessive abstraction Set performance targets for yourself Excellent points for mak
by megrimlock 16y ago
Use caching as a last resort, not as a fundamental design strategy
Resist excessive abstraction
Set performance targets for yourself
Excellent points for making any software perform well. I am working on performance in a non-web app that suffers greatly from over-abstraction, and over-caching to hide the overhead. Since design is subjective, railing against this got me nowhere -- but setting performance targets truly shifted the focus of the team. Now instead of debating how many internal layers we need and how to name them, we focus more on our runtime budget, and how to make the hardware solve the problem in that time.