Summary of High Performance

《构建高性能web站点》总结:     网络(Network): 1. 优化链路层(Optimize the data link control) 2. 减少传播的数据量(Reduce your bytes) 3. 减少数据间的传播距离,分布式的数据中心(Reduce transmission distance) 4. 增加带宽,并作优化,还要采取适当的限制措施(Enlarge, optimize, restrict your bandwidth). 5. 适当的重发机制(Resend properly)     服务器(Server): 1. 经常进行压力测试,如 Apache AB (Pressure testing) 2. 更多的CPU,更多进程,优化进程调度(More CPU and more process, but not threads, optimize process switch). 3. 时刻观察系统负载(Observe load average) 4. 减少锁的使用,如文件锁,表所,行锁,日志锁等等(Reduce locks […]

Posted in Optimization, Project Management | Leave a comment