In my career, I could help some companies to solve many application performance issues. After several suggestions from colleagues, I have tried to put together in this presentation the main points that I think Java developer should take into account to fix and prevent performance issues.
4. Milliseconds Matter
●
Amazon:
–
●
Increase 100ms in load time decreased sales by 1%
Google:
–
From loading a 10-result page in 0.4 seconds to a 30result page loading in 0.9 seconds decreased traffic and
ad revenues by 20%
12. Performance Best Practices
●
●
●
●
Test one build a day for performance issues
(continuous integration)
Monitoring (production env.) for compliance
Keep users at the center of performance
tuning efforts
Devs + Ops
14. Follow Coding Best Practices
●
KISS
–
●
complex code is hard to optimize
Loose coupling
–
–
●
Optimize without fear of breaking anything else
Avoid contamination (external applications)
Let your objects die young
15. Performance myths
●
Tune by default (early tuning)
●
Optimize by precaution (over-engineer)
●
The architecture cannot change
●
Hardware will solve the problem