首先,我阅读一下一些相关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