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

itoedr的it学苑

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

 
 
 

日志

 
 

ATS5.0+带来的新变化(变化跟踪)  

2014-07-11 21:35:59|  分类: trafficserver编 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

New records.config layout

We have cleaned up the default records.config file, reducing it's size to roughly 1/3. Now only the very commonly used settings are included. In addition, we've also modified the default values for a number of settings, for more details on that, see the Upgrade to 5.0.x page.

      译文:

        我们已经清理了默认的records.config文件中的相关选项,将这个配置文件大小减小到了它原来大小的1 / 3。现在只在其中保留了相应最常用的设置。此外作者还修改了默认的设置

New configurations

  • proxy.config.http.cache.range.write: The old behavior (before v5.0.0) was to always lock the object in cache on a Range, even it is unlikely that the object fetched can be cached. The new behavior is to not attempt such a lock, unless this new configuration is enabled. The use case for this is if your origin ignores the Range: header, and responds with the full (complete) object anyways.

Changed default configurations

Removed configurations

  • proxy.config.http.cache.when_to_add_no_cache_to_msie_requests
  • proxy.config.log.xuid_logging_enabled

JiraTS-2274TS-2319

Experimental SPDY Support

There is now SPDY 3.1 support for ATS, which requires the spdylay library to build. This is a compile time option and will need to be enabled when the server is built from source code. 

JiraTS-2431

TLS / SSL and HTTPS improvements

ALPN support

We now support ALPN in addition to NPN, for TLS based protocol negotiation. This is a prerequisite for HTTP/2 support going forward.

JiraTS-2239

Passphrase protected TLS certificates

We now provide a mechanism for providing pass phrases for unlocking the private key of a TLS certificate. From the docs:

ssl_key_pass_dialog=[builtin|exec:/path/to/program]

  Method used to provide a pass phrase for encrypted private keys.
  Two options are supported: builtin and exec
  builtin - Requests passphrase via stdin/stdout. Useful for debugging.
  exec: - Executes a program and uses the stdout output for the pass
  phrase.

Example:

  ssl_cert_name=foo.pem ssl_key_pass_dialog="exec:/usr/bin/mypass foo"

JiraTS-612

TLS session metrics

A whole slew of new metrics are made available for TLS sessions, such as how often keys are reused, which ciphers are used etc.

JiraTS-2169

Docstraffic_line

LuaJit and Lua

LuaJit is now included in the ATS source. A new LuaJit based plugin is also available, albeit still experimental and it will change, the APIs are not frozen. Going forward, the intent is to include more and more Lua features in the core, including for configurations.

JiraTS-2711

Logging

New action: WIPE_FIELD_VALUE

For custom log formats, a new action has been added, named WIPE_FIELD_VALUE. With this action, you can scrub field values before they get logged, which can be useful for hiding sensitive information such as username or passwords.

JiraTS-2636

New log tag: %<pitag> and %<piid>

With new APIs (see below) it is now possible for a plugin to tag an internal request with a plugin tag and ID. This can thus be used in the logs, for further correlation of requests and events.

JiraTS-2838

New and improved plugins 

A number of new plugins and feature additions to existing plugins are available in this version.

Promoted to stable (and renamed): tcpinfo (was: tcp_info)

This plugin produces information pertaining to every TCP session. This is now considered a stable plugin, and has gone through a few iterations of improvements.

JiraTS-2713TS-2714

Docs: tcpinfo

Renamed: stale_while_revalidate (was rfc5861)

This plugin now has a much better name.

Jira: TS-2737

Improved: regex_remap

Several new options are now available, using the @ formats:

  • @caseless: Make the regular expressions case insensitive.
  • @lowercase_subtitutions: Make all regular expression substitutions be lower cased.
  • @proxy.config....=<value>: Modify an overridable records.config configuration.

JiraTS-2646

Docs:  regex_remap

Improved: header_rewrite

A fairly significant number of improvements were made to this plugin.

  • Make the destination rewrites generically available (not just for remap rules)
  • The hooks management are improved such that you can now trigger rules from a remap.config rule, but a different hook. This is useful for example when you want to send a per-remap specific header to the origin server.
  • Conditions on internal requests
  • Conditions on the Client IP

JiraTS-2631TS-2834TS-2522

Docs: header_rewrite

stats_over_http

The metrics from this plugin will now include all metrics, not just the process metrics.

Jira:  TS-2620

Docs: stats_over_http

New: background_fetch

This is a new, experimental, plugin to perform background fetches of full objects when clients sends Range: requests only. Since we (currently) do not cache partial objects in the cache, this is a way to allow such objects to make it into cache. Together with the read-while-writer feature, this can improve cache hit ratio and performance dramatically. 

JiraTS-2554

Docsbackground_fetch

New: collapsed_connection

This plugin allows for finer granular control over origin server connections, collapsing client requests into one server session. This is similar to read-while-writer.

JiraTS-2604

New: s3_auth

The Amazon S3 services has an optional authentication component. This plugin allows ATS to make origin requests to S3 using the AWS authentication scheme. Currently this only implements the v2 specification of the APIs.

JiraTS-2611

Docs s3_auth

New: url_sig

This plugin validates cryptographically signed URLs.

JiraTS-2732

New: regex_revalidate

This plugin allow you to use regular expressions to force revalidation of content.

JiraTS-2804

traffic_shell removed

The command line tool traffic_shell has been removed.  There was little interest in maintaining this command line tool. For those who still need this functionality, an intermediary perl script is available in the code, traffic_shell.pl.

JiraTS-1665

traffic_line improvements

The traffic_line command line has a new option, '-m', which allows you to look for statistics and configurations matching a certain regular expression. This is a very convenient and quick way to explore the metrics and configurations system, and is a great introspection tool. In addition, better feedback is done when modifying configurations via command line.

JiraTS-2637TS-2628

Docs: traffic_line

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

历史上的今天

在LOFTER的更多文章

评论

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

页脚

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