Choosing a caching HTTP Proxy Presentation.pdf

Choosing a caching HTTP Proxy Presentation.pdf

ID:34170226

大小:5.88 MB

页数:51页

时间:2019-03-03

Choosing a caching HTTP Proxy Presentation.pdf_第1页
Choosing a caching HTTP Proxy Presentation.pdf_第2页
Choosing a caching HTTP Proxy Presentation.pdf_第3页
Choosing a caching HTTP Proxy Presentation.pdf_第4页
Choosing a caching HTTP Proxy Presentation.pdf_第5页
资源描述:

《Choosing a caching HTTP Proxy Presentation.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、Choosing A Proxy Server OSCON 2014 Bryan Call Yahoo About Me •Apache –CommiBer and PMC for Apache Traffic Server (ATS)  –Apache Member •IETF –HTTP/2 –TLS –TCP Enhancement •Yahoo –WebRing, GeoCiSes, People Search, Personals, Tiger Team, PlaTorm Architect, 

2、Edge Group, Network Research, Apache/IETF Overview •Types of Proxies •Features •Architecture •Cache Architecture •Performance •Pros and Cons How are you going to use a proxy server? ReverseProxyThereverseproxyhasexplicitrulesfora.com,b.comandc.com.Other

3、requestsare(typically)deniedWebsiteAGET/HTTP/1.1Host:c.comReverseWebsiteBProxyBrowserGET/HTTP/1.1Host:c.comWebsiteCReverse Proxy •Proxy in front of your own web servers •Caching? •Geographic locaSon? •ConnecSon handling? •SSL terminaSon? •SPDY support? 

4、•Adding business logic? ForwardProxyThebrowser(UA)isexplicitlyconfiguredtousetheFPserverasaproxyWebsiteAGEThttp://c.com/HTTP/1.1ForwardWebsiteBProxyBrowserGET/HTTP/1.1Host:c.comWebsiteCInterceptingProxyTherearenoexplicitconfigurationsinbrowserofproxy.Thet

5、ransparentproxyinterceptsHTTPrequests,andproxiesthemtothedestination.GET/HTTP/1.1WebsiteAHost:c.comInterceptingBrowserWebsiteBProxyRouterorFirewallGET/HTTP/1.1Host:c.comWebsiteCForward / IntercepSng Proxy •Proxy in front of the Internet •Configure client

6、s to use proxy? •Caching? •SSL ‐ CONNECT? •SSL ‐ terminaSon? Choices PlentyofProxyServersPerlBalPlentyofProxyServersFeatures And OpSons Features ATS NGiNXSquid Varnish Apache h8pdmod_proxyReverse Proxy Y Y Y Y Y Forward Proxy Y N Y N Y Transp. Proxy Y N

7、 Y N Y Plugin APIs Y Y parSal Y Y Cache Y Y Y Y Y ESI Y N Y parSal N ICP Y N Y N N SSL Y Y Y N Y SPDY Y Y N N parSal SSL Features Source: hBps://istlsfastyet.com/ ‐ IlyaGrigorikWhat type of proxy do you need? •Of our candidates, only three fully support

8、s all proxy modes HTTP/1.1 Compliance HTTP/1.1 Compliance •Accept‐Encoding ‐ gzip•Vary •Age •If‐None‐Match How things can go wrong: Vary $ curl ‐D ‐ ‐o /dev/null ‐s ‐‐compress hBp://10.118.73.168/ HTTP/1.1 200 OK Server: nginx/1.

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。