squid Request Hit Ratios Byte Hit Ratios 5
squid Request Hit Ratios: Byte Hit Ratios: 5 min: 46. 8%, 60 min: 44. 8% 5 min: 10. 2%, 60 min: 11. 6% Request Memory Hit Ratios: 5 min: 29. 7%, 60 min: 25. 1% Request Disk Hit Ratios: 5 min: 2. 7%, 60 min: 7. 6%
七层负载均衡 acl free_content path_beg -i /publicforum/content/free acl free_list path_end -i free. shtml acl asp path_end -i. asp acl static path_end -i. js. css. gif. jpg. html use_backend asp if asp use_backend static if static use_backend pub_hot_1 if free_content OR free_list
结构 F 5 -GTM F 5 -LTM Haproxy 根据URL分拆版块应用 Squid squid WWW WWW 写 DB主 读 DB从
varnish • 热门版块命中率70% • 流量节约 70% • 上午9时 40分varnishstat输出结果: Hitrate ratio: 10 100 137 Hitrate avg: 0. 7300 0. 7206 0. 7196 56322971 45186154 48. 96 42. 97 45. 05 Client connections accepted 36. 14 Client requests received
ASP对memcache的操作 set cache = Server. Create. Object("Tianyamemcached. Client") cache. set. Group("group_test") content = cache. get("key") add_action = cache. add("key", content, Out. Time) del_action = cache. Delete ("key") set cache = nothing
F 5 -GTM F 5 -LTM Haproxy 根据URL分拆版块应用 Varnish WWW WWW Memcache 写 DB主 读 DB从 Redis
监控平台结构 Watch. Dog Agent Server XML Switch WEB Server Socket Server SNMP XML Agent Server DB
其它运维开源 具 • • Nagios Cacti Func Python
- Slides: 30