提高squid缓存的命中率
来源:互联网 发布:手机动态壁纸软件 编辑:程序博客网 时间:2024/05/08 04:36
提高squid缓存的命中率
http://blog.csdn.net/jiedushi/archive/2009/08/06/4412493.aspx
安装运行squid后用命令
squidclient -t 1 -h localhost -p 80 mgr:info 查看命中率情况
Request Hit Ratios: 5min: 99.6%, 60min: 98.7% Cache Request命中率
Byte Hit Ratios: 5min: 100.0%, 60min: 100.0% Cache Byte命中率
如果命中率低 则
1 apache中的模块 mod_expires是否打开
2 调整squid中的参数
# cache_mem 8 MB
cache_mem 64 MB
# maximum_object_size 4096 KB
maximum_object_size 16384 KB
# maximum_object_size_in_memory 8 KB
maximum_object_size_in_memory 256 KB
# ipcache_size 1024
ipcache_size 2048
#Default:
cache_dir ufs /usr/local/squid/cache 2048 32 512
3 如果apache中使用了deflate压缩 设置 cache_vary on
4 如果用nginx 可以用第三方模块mod_urlhash 提高命中率
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/jiedushi/archive/2009/08/06/4412493.aspx
- 提高squid缓存的命中率
- 提高squid缓存的命中率
- Squid如何提高命中率
- nginx urlhash 提高squid 命中率
- 关于Squid缓存命中率 一则
- Squid服务中的缓存命中率
- 有效提高命中率的缓存设计
- squid的命中率研究
- 如何提高缓存命中率
- 提高Memcached缓存命中率
- 调整Squid反向代理参数提高命中率
- Squid缓存命中率调整惨痛教训
- Squid缓存命中率调整惨痛教训
- Squid缓存命中率调整惨痛教训
- [zt]squid的命中率研究
- 如何提高服务器缓存命中率
- 对缓存的思考——提高命中率
- 对缓存的思考——提高命中率
- 文件上传 带进度条(多种风格)(转)
- 回京
- Vdsp处理未命名union的BUG
- 寻找一片天地
- 分布式的Key-Value存储系统Cassandra
- 提高squid缓存的命中率
- 替换字符串中的指定子串
- 《Steve Jobs于2005年对史丹佛毕业生演讲全文》(转)
- VMware安装Linux,出现错误-未找到要在其中创建新文件系统
- Squid 配置文件详解
- 顾问公司帮助企业实施CRM有哪些好处
- 3.12-如何使框架窗口的大小不可改变?
- 后缀数组的使用笔记
- Squid配置详解