Article Directory
1. Distributed session
- Redis used as a storage container of the session.
2. Pressure test
- Using JMeter pressure-test, to see the number of qps. According to the server and then the top command to see what processes consume resources.
3. Page Optimization
- Optimization point
- + + URL cache page cache object cache "implementation: Take cache -> Manual template rendering -> Output results"
page cache: In @RequestMapping need to add = Produces "text / HTML", @ responseBody
the URL of the page cache and cache-coherent, only cache key = key + id, id different so that different cached pages. - Static pages, front and rear end of the separator
- Static Resource Optimization
- CDN optimization
- + + URL cache page cache object cache "implementation: Take cache -> Manual template rendering -> Output results"
4. spike optimization step