Changes between Initial Version and Version 1 of Ticket #127
- Timestamp:
- 09/28/2012 03:11:06 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #127
- Property Status changed from new to assigned
- Property Owner set to yuanhuoqing
-
Ticket #127 – Description
initial v1 18 18 19 19 * 想要进一步提高缓存命中率,减少应用的流量压力,需要再对日志进行分析。 20 * squid日志文件 。21 * 手动脚本分析结果 :20 * squid日志文件[attachment:access.log.gz]。 21 * 手动脚本分析结果,请求总数9万,可见readintf的请求占了62%,而readintf的命中率不到一半,另外占总请求数14%的priceareanav则基本没有命中,因此后续缓存的优化还是要围绕这两个地方来进行: 22 22 {{{ 23 23 awk -F\" '{where=match($2,/\?/);if(where) where=where-5; else where=length($2)-13;printf( "%s %s\n",substr($2,5,where),substr($7,2,match($7,/:/)-1))}' access.log|sort|uniq -c|sort -nr|more
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)