Changes between Version 1 and Version 2 of knowledgeSharing/1st


Ignore:
Timestamp:
01/22/2016 11:17:05 AM (10 years ago)
Author:
zhouruxuan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • knowledgeSharing/1st

    v1 v2  
    44 
    55 
     6[[Image(http://img.pcauto.com.cn/images/upload/upc/tx/autoclub/1601/22/c5/17805837_1453431480461_1024x1024.png)]] 
     7 
     8[[Image(http://img.pcauto.com.cn/images/upload/upc/tx/autoclub/1601/22/c5/17805347_1453431028783.jpg)]] 
     9 
     10[[Image(http://img.pcauto.com.cn/images/upload/upc/tx/autoclub/1601/22/c4/17805346_1453431019953_700.jpg)]] 
     11 
     12总结:当某业务模块遇到性能瓶颈时,优化的步骤如下[[BR]] 
     13一、代码物理优化[[BR]] 
     141.WEB、WAP、APP代码区分(同一功能);[[BR]] 
     152.工具类的普及与细化(同一功能的方法单独一个类来实现)。[[BR]] 
     16 
     17二、代码逻辑优化[[BR]] 
     181.直接对代码进行优化;[[BR]] 
     192.数据库方面 (如SQL性能,索引,表设计合理性);[[BR]] 
     203.缓存机制方面(MC连接数,失败数,命中率等);[[BR]] 
     214.JVM层面;[[BR]] 
     225.磁盘IO,网络IO方面;[[BR]] 
     236.硬件方面(内容,CPU);[[BR]] 
     247.系统设计,架构方面。