BR 技术头条 技术链接、资讯与社区分享流
gi github.com / 2018-04-24 08:36 / by @NusterCacheServer

高性能缓存服务器 nuster v1.7.10.1 发布

高性能缓存服务器 nuster v1.7.10.1 已发布。本次更新主要升级到HAProxy v1.7.10, 更改了配置文件关键字,删除了share关键字, 为升级到HAProxy v1.8进行了代码重构。这应该是1.7版本的最后一次更新,下次主要是升级到1.8,添加HTTP2功能。

项目主页 [https://github.com/jiangwenyuan/nuster](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倍。详见[性能比较](https://github.com/jiangwenyuan/nuster/wiki/Web-cache-server-performance-benchmark:-nuster-vs-nginx-vs-varnish-vs-squid)

发表评论