@kwanhong young
可以在memcached客户端里面根据数据长度决定是否压缩的
gzip一般用于网页压缩,根据我的经验,cpu会多占用5-10个百分点
当然我没有测试过LZ系列的cpu占用率,根据压缩时间来看应该比gzip要低。
这里引用QuickLZ网站上的用户感言,仅供参考:
"We're a video sharing site located in China. We rewrote the PHP memcached client extension by replacing zlib with QuickLZ. Then our server loads were dramatically reduced by up to 50%, the page response time was also boosted. Thanks for your great work!"
Jiang Hong
6.cn
from:
http://quicklz.com/testimonials.html