首先,我阅读一下一些相关java performance tuning 的资料。
以下是要点:
Don’t make assumptions but measure
• Have quantified requirements, prove they are met or not
• Prove the architecture performs in a POC
• Continuously test performance during development
– to get a first impression
– for quick feedback on changes
28
• Test representatively in a dedicated environment
– with production-like load
– on a production-like environment
– with production-like data
• Fix problems when found
• Prove the effect of each optimization
• Monitor the performance of your app in production
以下是要点:
Don’t make assumptions but measure
• Have quantified requirements, prove they are met or not
• Prove the architecture performs in a POC
• Continuously test performance during development
– to get a first impression
– for quick feedback on changes
28
• Test representatively in a dedicated environment
– with production-like load
– on a production-like environment
– with production-like data
• Fix problems when found
• Prove the effect of each optimization
• Monitor the performance of your app in production
Java性能调优
本文分享了Java性能调优的关键步骤,包括:不凭空假设而要进行测量、量化需求并验证是否达到、在概念验证阶段证明架构性能、开发过程中持续性能测试、在专用环境中进行代表性测试、发现问题及时修复、验证每次优化的效果以及生产环境中监控应用性能。
523

被折叠的 条评论
为什么被折叠?



