注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

itoedr的it学苑

记录从IT文盲学到专家的历程

 
 
 

日志

 
 

ATS(trafficserver)5.3发布,header_rewrite与traffic_ctl值得期待  

2015-05-18 10:17:05|  分类: trafficserver编 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
注:trafficserver 5.3/6.0发布了,新的功能与特点值得我们加快了解并投入生产应用环境。作为最出色的CDN系统,它注定是为大用户群体服务的。所以使用者务必了解它的每一个参数的意义,要不影响的就是大批用户的使用。在笔者看来,这又是一次大变化,其中无效代码也越来越少了,想当然稳定性得到了进一步提高。
traffic_ctl的应用例子:          $ traffic_ctl config set proxy.config.log.squid_log_enabled 1
          $ traffic_ctl config set  proxy.config.log.squid_log_is_ascii 1
          $ traffic_ctl config reload
          $ traffic_ctl metric  get proxy.process.http.completed_requests
          $ traffic_ctl metric  get proxy.node.cache_total_hits
          $ traffic_ctl metric  get proxy.node.cache_hit_ratio
          $ traffic_ctl metric  get proxy.node.cache.bytes_total_mb
          $ traffic_ctl metric  get proxy.node.cache.percent_free

ATS(trafficserver)5.3发布,header_rewrite与traffic_ctl值得期待 - itoedr - itoedr的it学苑
使用traffic_ctl config set 设置系统参数
ATS(trafficserver)5.3发布,header_rewrite与traffic_ctl值得期待 - itoedr - itoedr的it学苑
使用traffic_ctl读取状态参数
 
 

What's New in v5.3.x

ATS v5.3增加的新特点

General changes

  • Allow traffic_server to validate config at the command line - TS-3364
  • TLS ticket rotation - TS-3301

HTTP/2

Basic support for HTTP/2 (aka "H2") is now supported. This is still work in progress, and not everything from the H2 specifications is supported. In particular

  • Priorities
  • Server PUSH

are not supported. In addition, HTTP/2 is only supported on the client side, i.e. we only support proxying H2 to an HTTP/1.1 backend server (origin). For some details on the implementation, see the TS-2729 Jira.

New command line tool: traffic_ctl

The new traffic_ctl command is intended to replace the old traffic_line command. We're keeping both around for the duration of 6.0.0, but expect traffic_line to be deprecated and removed for 7.0.0. As such, please update any tools and utilities you have around the old traffic_line, and use traffic_ctl instead. For details on this new tool, see TS-3367.

"Dynamic" keep-alive timeouts

In old versions of ATS, you had to manually configure how long to keep connections in HTTP Keep-Alive state. This turns out to be really difficult, and a new feature was added to simplify this. Using these new configurations, you can now specify a max number of connections to keep in Keep-Alive. The new configuration for this is proxy.config.net.max_connections_in. See the JIRA (TS-153) for more details.

New configuration options

  • A new configuration to disallow POST with Expect: 100-continue - TS-3459

  • Have HostDB use /etc/hosts - proxy.config.hostdb.host_file.pathTS-3088

Metrics

  • Add metrics to represent configuration freshness - TS-3231
  • Add stat to count cache wrap - proxy.process.cache.wrap_count - TS-2515 
  • Add new metric to count the number of SSL connections from ATS to origin - TS-3409

Plugin Improvements

API

ts_lua

  • Add milestone and  DSCP API support - TS-3454
  • Other API support - TS-3225

header_rewrite

  • Add support for modifying the SCHEME - TS-3211
  • Add support for METHOD as condition - TS-3398

gzip

generator

This new plugin allows ATS to act as a content generator, typically useful for setting up test environments. For details, see the docs.

  评论这张
 
阅读(121)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017