内容简介:Pike 2.0 版本发布,主要优化了缓存的性能以及应用的配置及管理。 HTTP缓存服务,提供高效简单的HTTP缓存服务,类似于varnish但配置更简单。 主要特性 标准化的基于HTTP头Cache-Control缓存控制 界面化的配置,简...
Pike 2.0 版本发布,主要优化了缓存的性能以及应用的配置及管理。
HTTP缓存服务,提供高效简单的HTTP缓存服务,类似于varnish但配置更简单。
主要特性
- 标准化的基于HTTP头Cache-Control缓存控制
- 界面化的配置,简单易用
- 智能的压缩方式,根据客户端选择
br或者gzip - 应用配置可保存至etcd中,非常方便横向扩展
- 界面化的缓存管理,可实时查看当前系统缓存以及强制手工清除
性能
测试机器:8核 8GB内存,测试环境有限,wrk与测试程序均在同一机器上运行
可缓存的接口,gzip(2436字节),原数据9286字节
wrk -c1000 -t10 -d1m -H 'Accept-Encoding: gzip, deflate' --latency 'http://127.0.0.1:3005/chapters'
Running 1m test @ http://127.0.0.1:3005/chapters
10 threads and 1000 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 23.90ms 47.63ms 1.23s 97.84%
Req/Sec 5.16k 595.36 9.68k 76.77%
Latency Distribution
50% 16.88ms
75% 23.88ms
90% 38.70ms
99% 94.31ms
3081367 requests in 1.00m, 7.73GB read
Requests/sec: 51276.94
Transfer/sec: 131.68MB
可缓存的接口,br(1958字节),原数据9286字节
wrk -c1000 -t10 -d1m -H 'Accept-Encoding: br' --latency 'http://127.0.0.1:3005/chapters'
Running 1m test @ http://127.0.0.1:3005/chapters
10 threads and 1000 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 21.63ms 27.32ms 1.04s 94.50%
Req/Sec 5.18k 534.52 11.17k 72.66%
Latency Distribution
50% 16.77ms
75% 23.72ms
90% 37.78ms
99% 80.60ms
3094104 requests in 1.00m, 6.38GB read
Requests/sec: 51480.91
Transfer/sec: 108.63MB
以上所述就是小编给大家介绍的《Pike 2.0 版本发布,HTTP 缓存服务》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:- vue增加强缓存和版本号
- ThinkPHP5.1.32 版本发布 —— 改进缓存标签
- 前端静态资源自动化处理版本号防缓存
- Pike 4.0 版本发布,类似 Varnish 的 HTTP 缓存服务器
- 微信 SDK 升级,全面支持异步缓存接口, .NET 3.5/4.0版本5月1日起停止更新
- 微信 SDK 升级,全面支持异步缓存接口, .NET 3.5/4.0版本5月1日起停止更新
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Starfish and the Spider
Ori Brafman、Rod A. Beckstrom / Portfolio Hardcover / 2006-10-05 / USD 24.95
Understanding the amazing force that links some of today's most successful companies If you cut off a spider's leg, it's crippled; if you cut off its head, it dies. But if you cut off a st......一起来看看 《The Starfish and the Spider》 这本书的介绍吧!