HighperformanceWebSitesrichardchang腾讯技术大讲堂不知大家有没有看过这个pptMysqlconf2005*以及这个架构图Perlbal+memcached,bothdevelopedandsharedbyLJteam*Yahoo’sCasePerformanceresearchand14rulesExceptionalPerformancestartedin2004quantifyandimprovetheperformanceofallYahoo!productsworldwidecenterofexpertisebuildtools,analyzedatagather,research,andevangelizebestpractices*Scopeperformancebreaksintotwocategoriesresponsetimeefficiencycurrentfocusisresponsetimeofwebproducts*TheImportanceofFront-EndPerformance*用了packetsniffer以后,下图显示如果用户没有cache(emptycache)的情况下读取www.yahoo.com的情况,可以看到其实只有5%的时间花在了读取最开始的html上(0.24),其他的90%时间花在了读取其他组件,例如image,css和scripts。percentageoftimespentonthefront-endBack-endvs.Front-endEmptyCacheFullCacheamazon.com82%86%aol.com94%86%cnn.com81%92%ebay.com98%92%google.com86%64%msn.com97%95%myspace.com96%86%wikipedia.org80%88%yaho