高性能缓存服务器 nuster v1.7.10.1 已发布。本次更新主要升级到 HAProxy v1.7.10, 更改了配置文件关键字,删除了 share 关键字, 为升级到 HAProxy v1.8 进行了代码重构。这应该是 1.7 版本的最后一次更新,下次主要是升级到 1.8,添加 HTTP2 功能。
项目主页 https://github.com/jiangwenyuan/nuster
本次更新
Added
- Upgrade to HAProxy v1.7.10
- Proxy mode
Changed
- Refactoring
- Separate include nuster directory
- Split headers
- Separate src nuster directory
- Split source
- Append nuster/nst to functions and variables
- Update config keyword
- global: cache to nuster cache
- proxy: filter cache to nuster cache
- proxy: cache-rule to nuster rule
- Remove share on|off keyword
介绍
nuster 是一个基于 HAProxy 的高性能缓存服务器。nuster 完全兼容 HAProxy,并且利用 HAProxy 的 ACL 功能来提供非常细致的缓存规则。特性包括
- 完全兼容 HAProxy,支持所有 HAProxy 的特性和功能
- 强大的动态缓存功能
- 根据 HTTP method, uri, path, query, header, cookie 等等进行缓存
- 根据 HTTP 请求和响应内容等等进行缓存
- 根据环境变量服务器状态等等进行缓存
- 根据 SSL 版本, SNI 等等进行缓存
- 根据连接数量,请求速率等等进行缓存
- 等等
- 非常快
- 删除缓存
- 动态开启禁用缓存
- 动态修改 TTL
- 前后端 HTTPS
- HTTP 压缩
- HTTP 重写重定向
性能:
非常快, 单进程模式下是 nginx 的 3 倍,多进程下 nginx 的 2 倍,varnish 的 3 倍。详见性能比较