反向代理服务器-Apache Traffic Server


Traffic Server 是一套快速、模块化的兼容 HTTP/1.1 的反向代理服务器,与 Nginx 和 Squid 类似,目前该项目已经转到 Apache 基金会。这是一款高性能、可扩展的 HTTP 反向代理和缓存服务器。
Traffic Server设计的思想是将一个大系统划分为若干个小的子系统,每个子系统负责专门的任务或应用。比如,Event子系统负责提供任务调度服务,Net子系统负责提供网络服务。每个子系统抽象为一个Processor,这种高内聚低耦合的设计原则使系统具有更好的重用性,维护性和扩展性。如果hostDBProcessor需要进行DNS解析,可以直接调用dnsProcessor的相关函数,而无需关注DNS解析的细节;dnsProcessor也只需封装DNS请求和解析DNS应答,和网络相关的功能可以调用netProcessor来完成。

Apache Traffic Server™ software is a fast, scalable and extensible HTTP/1.1 compliant caching proxy server. Formerly a commercial product, Yahoo! donated it to the Apache Foundation, and it is now an Apache TLP. Here's a Traffic Server overview.
Overview
Caching
Improve your response time, while reducing server load and bandwidth needs by caching and reusing frequently-requested web pages, images, and web service calls.
Proxying
Easily add keep-alive, filter or anonymize content requests, or add load balancing by adding a proxy layer.
Fast
Scales well on modern SMP hardware, handling 10s of thousands of requests per second.
Extensible
APIs to write your own plug-ins to do anything from modifying HTTP headers to handling ESI requests to writing your own cache algorithm.
Proven
Handling over 400TB a day at Yahoo! both as forward and reverse proxies, Apache Traffic Server is battle hardened. Also visit our Customers page (see link above) for some of our corporate users and supporters.
Apache Traffic Control 是一个分布式、可扩展的冗余解决方案,实现了现代 CDN 的所有核心功能,可用于构建、监视和配置大型内容交付网络。
5.1.2 已于2021年5月中旬发布,此版本更新内容如下:
修复了 GET api cdns/routing 的返回错误,以避免错误的 success response。
确保 5.x Traffic Stats 与 5.x Traffic Monitor 和 5.x Traffic Ops 兼容,并且不会 log all 0's for cache_stats
修复了 ORT 无法更新 Delivery Services 的 URLSIG 密钥的问题
修复了针对 mids 和拓扑结构的 ORT service category header 重写
修复了 Traffic Ops 不可用导致 Traffic Monitor 出现段故障和崩溃的问题
确保 Health Threshold Parameters 使用传统监测配置处理器的传统格式
确保只针对受监控的接口计算 vitals
修复了 Traffic Monitor 以报告ONLINE缓存的可用性
按 DS 名称对 TM Delivery Service States 页面进行排序
如果服务器没有主机名,则将 XMPPID 设置为主机名,当 XMPPID 为空时,服务器更新时不会出错
防止在尝试登录失败时循环
更多更新说明请参考此处。
最新版本:6.2
这是第二个支持 HTTP/2 的版本,现在已经趋于稳定,此版本不再支持 RHEL5。主要改进如下:
日志记录组件
应用协议 (HTTP/2, HTTP/1, SPDY/3.1), with %<cqpv>.
Milestones/state times of a transactions to get a better understanding of where time for responses is spent.
SSL session 攻击或者丢失
连接复用或者请求新连接
最新版本:9.0
Apache Traffic Server (ATS) v9.0.0 已于2021年1月未发布,这是一款高性能、可扩展的 HTTP 反向代理和缓存服务器。此版本包含以下值得关注的新功能:
实验性支持 QUIC(draft 27 和 29)
支持 TLS v1.3 0RTT
显著优化 HTTP/2 性能
支持 PROXY 协议
对父级选择 (Parent Selection) 的重大改进,引入了新的配置文件strategies.yaml
引入一些新插件
PROXY 协议:ATS 在入站端 (inbound side) 已支持PROXY 协议,输入的 PROXY 数据会被转换为Forwardedheader。
开发者功能:添加对 dtrace style markers (SDT) 的支持,并在 SystemTap、dtrace 和 gdb 用户感兴趣的位置添加一些标记。详情查看 Debug Builds。
命令行工具:traffic_server 程序现在拥有两个新的维护命令:verify_global_plugin 和 verify_remap_plugin,用于加载插件的共享对象文件,并验证其是否符合最小的全局或重映射插件 API 要求。
HTTP/2
在现有功能上增加了部分配置项,例如以下的新配置可用于限制某些被过度使用的客户端的速率。
proxy.config.http2.max_settings_per_frame
proxy.config.http2.max_settings_per_minute
此外,在 ATS v9.x 中,HTTP/2 的性能明显更好。更多详细更新内容点此查看。
项目主页:http://trafficserver.apache.org/
Traffic Server设计的思想是将一个大系统划分为若干个小的子系统,每个子系统负责专门的任务或应用。比如,Event子系统负责提供任务调度服务,Net子系统负责提供网络服务。每个子系统抽象为一个Processor,这种高内聚低耦合的设计原则使系统具有更好的重用性,维护性和扩展性。如果hostDBProcessor需要进行DNS解析,可以直接调用dnsProcessor的相关函数,而无需关注DNS解析的细节;dnsProcessor也只需封装DNS请求和解析DNS应答,和网络相关的功能可以调用netProcessor来完成。

Apache Traffic Server™ software is a fast, scalable and extensible HTTP/1.1 compliant caching proxy server. Formerly a commercial product, Yahoo! donated it to the Apache Foundation, and it is now an Apache TLP. Here's a Traffic Server overview.
Overview
Caching
Improve your response time, while reducing server load and bandwidth needs by caching and reusing frequently-requested web pages, images, and web service calls.
Proxying
Easily add keep-alive, filter or anonymize content requests, or add load balancing by adding a proxy layer.
Fast
Scales well on modern SMP hardware, handling 10s of thousands of requests per second.
Extensible
APIs to write your own plug-ins to do anything from modifying HTTP headers to handling ESI requests to writing your own cache algorithm.
Proven
Handling over 400TB a day at Yahoo! both as forward and reverse proxies, Apache Traffic Server is battle hardened. Also visit our Customers page (see link above) for some of our corporate users and supporters.
Apache Traffic Control 是一个分布式、可扩展的冗余解决方案,实现了现代 CDN 的所有核心功能,可用于构建、监视和配置大型内容交付网络。
5.1.2 已于2021年5月中旬发布,此版本更新内容如下:
修复了 GET api cdns/routing 的返回错误,以避免错误的 success response。
确保 5.x Traffic Stats 与 5.x Traffic Monitor 和 5.x Traffic Ops 兼容,并且不会 log all 0's for cache_stats
修复了 ORT 无法更新 Delivery Services 的 URLSIG 密钥的问题
修复了针对 mids 和拓扑结构的 ORT service category header 重写
修复了 Traffic Ops 不可用导致 Traffic Monitor 出现段故障和崩溃的问题
确保 Health Threshold Parameters 使用传统监测配置处理器的传统格式
确保只针对受监控的接口计算 vitals
修复了 Traffic Monitor 以报告ONLINE缓存的可用性
按 DS 名称对 TM Delivery Service States 页面进行排序
如果服务器没有主机名,则将 XMPPID 设置为主机名,当 XMPPID 为空时,服务器更新时不会出错
防止在尝试登录失败时循环
更多更新说明请参考此处。
最新版本:6.2
这是第二个支持 HTTP/2 的版本,现在已经趋于稳定,此版本不再支持 RHEL5。主要改进如下:
日志记录组件
应用协议 (HTTP/2, HTTP/1, SPDY/3.1), with %<cqpv>.
Milestones/state times of a transactions to get a better understanding of where time for responses is spent.
SSL session 攻击或者丢失
连接复用或者请求新连接
最新版本:9.0
Apache Traffic Server (ATS) v9.0.0 已于2021年1月未发布,这是一款高性能、可扩展的 HTTP 反向代理和缓存服务器。此版本包含以下值得关注的新功能:
实验性支持 QUIC(draft 27 和 29)
支持 TLS v1.3 0RTT
显著优化 HTTP/2 性能
支持 PROXY 协议
对父级选择 (Parent Selection) 的重大改进,引入了新的配置文件strategies.yaml
引入一些新插件
PROXY 协议:ATS 在入站端 (inbound side) 已支持PROXY 协议,输入的 PROXY 数据会被转换为Forwardedheader。
开发者功能:添加对 dtrace style markers (SDT) 的支持,并在 SystemTap、dtrace 和 gdb 用户感兴趣的位置添加一些标记。详情查看 Debug Builds。
命令行工具:traffic_server 程序现在拥有两个新的维护命令:verify_global_plugin 和 verify_remap_plugin,用于加载插件的共享对象文件,并验证其是否符合最小的全局或重映射插件 API 要求。
HTTP/2
在现有功能上增加了部分配置项,例如以下的新配置可用于限制某些被过度使用的客户端的速率。
proxy.config.http2.max_settings_per_frame
proxy.config.http2.max_settings_per_minute
此外,在 ATS v9.x 中,HTTP/2 的性能明显更好。更多详细更新内容点此查看。
项目主页:http://trafficserver.apache.org/