Enviar búsqueda
Cargar
tokyo.vcl発表資料(varnish+squid)
•
2 recomendaciones
•
2,190 vistas
Yasuhiro Araki, Ph.D
Seguir
squid helps for varnish cache warming without origin httpd access. イカはまだまだイケる。温故知新だぜ。
Leer menos
Leer más
Tecnología
Empresariales
Vista de diapositivas
Denunciar
Compartir
Vista de diapositivas
Denunciar
Compartir
1 de 16
Descargar ahora
Descargar para leer sin conexión
Recomendados
Using ngx_lua in UPYUN 2
Using ngx_lua in UPYUN 2
Cong Zhang
Using ngx_lua in upyun 2
Using ngx_lua in upyun 2
OpenRestyCon
RestMQ - HTTP/Redis based Message Queue
RestMQ - HTTP/Redis based Message Queue
Gleicon Moraes
Devinsampa nginx-scripting
Devinsampa nginx-scripting
Tony Fabeen
Varnish presentation for the Symfony Zaragoza user group
Varnish presentation for the Symfony Zaragoza user group
Jorge Nerín
Using ngx_lua in UPYUN
Using ngx_lua in UPYUN
Cong Zhang
[Hello world 오픈세미나]varnish로 웹서버성능 향상시키기
[Hello world 오픈세미나]varnish로 웹서버성능 향상시키기
NAVER D2
BATTLESTAR GALACTICA : Saison 5 - Les Cylons passent dans le cloud avec Vert....
BATTLESTAR GALACTICA : Saison 5 - Les Cylons passent dans le cloud avec Vert....
La Cuisine du Web
Recomendados
Using ngx_lua in UPYUN 2
Using ngx_lua in UPYUN 2
Cong Zhang
Using ngx_lua in upyun 2
Using ngx_lua in upyun 2
OpenRestyCon
RestMQ - HTTP/Redis based Message Queue
RestMQ - HTTP/Redis based Message Queue
Gleicon Moraes
Devinsampa nginx-scripting
Devinsampa nginx-scripting
Tony Fabeen
Varnish presentation for the Symfony Zaragoza user group
Varnish presentation for the Symfony Zaragoza user group
Jorge Nerín
Using ngx_lua in UPYUN
Using ngx_lua in UPYUN
Cong Zhang
[Hello world 오픈세미나]varnish로 웹서버성능 향상시키기
[Hello world 오픈세미나]varnish로 웹서버성능 향상시키기
NAVER D2
BATTLESTAR GALACTICA : Saison 5 - Les Cylons passent dans le cloud avec Vert....
BATTLESTAR GALACTICA : Saison 5 - Les Cylons passent dans le cloud avec Vert....
La Cuisine du Web
Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!
C2B2 Consulting
Roll Your Own API Management Platform with nginx and Lua
Roll Your Own API Management Platform with nginx and Lua
Jon Moore
Redis & ZeroMQ: How to scale your application
Redis & ZeroMQ: How to scale your application
rjsmelo
Redis as a message queue
Redis as a message queue
Brandon Lamb
On UnQLite
On UnQLite
charsbar
tdc2012
tdc2012
Juan Lopes
BlockChain implementation by python
BlockChain implementation by python
wonyong hwang
Application Logging in the 21st century - 2014.key
Application Logging in the 21st century - 2014.key
Tim Bunce
PostgreSQL Streaming Replication Cheatsheet
PostgreSQL Streaming Replication Cheatsheet
Alexey Lesovsky
Static Typing in Vault
Static Typing in Vault
GlynnForrest
Performance measurement and tuning
Performance measurement and tuning
AOE
Bootstrapping multidc observability stack
Bootstrapping multidc observability stack
Bram Vogelaar
How to Develop Puppet Modules: From Source to the Forge With Zero Clicks
How to Develop Puppet Modules: From Source to the Forge With Zero Clicks
Carlos Sanchez
Securing Prometheus exporters using HashiCorp Vault
Securing Prometheus exporters using HashiCorp Vault
Bram Vogelaar
Lua tech talk
Lua tech talk
Locaweb
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
John Kim
nginx: writing your first module
nginx: writing your first module
redivy
Rails Caching Secrets from the Edge
Rails Caching Secrets from the Edge
Michael May
Reactive server with netty
Reactive server with netty
Dmitriy Dumanskiy
It's 10pm: Do You Know Where Your Writes Are?
It's 10pm: Do You Know Where Your Writes Are?
MongoDB
Introduction to Protractor
Introduction to Protractor
Jie-Wei Wu
Tomcat连接池配置方法V2.1
Tomcat连接池配置方法V2.1
Zianed Hou
Más contenido relacionado
La actualidad más candente
Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!
C2B2 Consulting
Roll Your Own API Management Platform with nginx and Lua
Roll Your Own API Management Platform with nginx and Lua
Jon Moore
Redis & ZeroMQ: How to scale your application
Redis & ZeroMQ: How to scale your application
rjsmelo
Redis as a message queue
Redis as a message queue
Brandon Lamb
On UnQLite
On UnQLite
charsbar
tdc2012
tdc2012
Juan Lopes
BlockChain implementation by python
BlockChain implementation by python
wonyong hwang
Application Logging in the 21st century - 2014.key
Application Logging in the 21st century - 2014.key
Tim Bunce
PostgreSQL Streaming Replication Cheatsheet
PostgreSQL Streaming Replication Cheatsheet
Alexey Lesovsky
Static Typing in Vault
Static Typing in Vault
GlynnForrest
Performance measurement and tuning
Performance measurement and tuning
AOE
Bootstrapping multidc observability stack
Bootstrapping multidc observability stack
Bram Vogelaar
How to Develop Puppet Modules: From Source to the Forge With Zero Clicks
How to Develop Puppet Modules: From Source to the Forge With Zero Clicks
Carlos Sanchez
Securing Prometheus exporters using HashiCorp Vault
Securing Prometheus exporters using HashiCorp Vault
Bram Vogelaar
Lua tech talk
Lua tech talk
Locaweb
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
John Kim
nginx: writing your first module
nginx: writing your first module
redivy
Rails Caching Secrets from the Edge
Rails Caching Secrets from the Edge
Michael May
Reactive server with netty
Reactive server with netty
Dmitriy Dumanskiy
It's 10pm: Do You Know Where Your Writes Are?
It's 10pm: Do You Know Where Your Writes Are?
MongoDB
La actualidad más candente
(20)
Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!
Roll Your Own API Management Platform with nginx and Lua
Roll Your Own API Management Platform with nginx and Lua
Redis & ZeroMQ: How to scale your application
Redis & ZeroMQ: How to scale your application
Redis as a message queue
Redis as a message queue
On UnQLite
On UnQLite
tdc2012
tdc2012
BlockChain implementation by python
BlockChain implementation by python
Application Logging in the 21st century - 2014.key
Application Logging in the 21st century - 2014.key
PostgreSQL Streaming Replication Cheatsheet
PostgreSQL Streaming Replication Cheatsheet
Static Typing in Vault
Static Typing in Vault
Performance measurement and tuning
Performance measurement and tuning
Bootstrapping multidc observability stack
Bootstrapping multidc observability stack
How to Develop Puppet Modules: From Source to the Forge With Zero Clicks
How to Develop Puppet Modules: From Source to the Forge With Zero Clicks
Securing Prometheus exporters using HashiCorp Vault
Securing Prometheus exporters using HashiCorp Vault
Lua tech talk
Lua tech talk
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
DEVIEW - 오픈소스를 활용한 분산아키텍처 구현기술
nginx: writing your first module
nginx: writing your first module
Rails Caching Secrets from the Edge
Rails Caching Secrets from the Edge
Reactive server with netty
Reactive server with netty
It's 10pm: Do You Know Where Your Writes Are?
It's 10pm: Do You Know Where Your Writes Are?
Similar a tokyo.vcl発表資料(varnish+squid)
Introduction to Protractor
Introduction to Protractor
Jie-Wei Wu
Tomcat连接池配置方法V2.1
Tomcat连接池配置方法V2.1
Zianed Hou
HTTP Caching and PHP
HTTP Caching and PHP
David de Boer
Puppet
Puppet
Seenaah Seenaahzadeh
Nginx + PHP
Nginx + PHP
Wataru OKAMOTO
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and Nagios
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and Nagios
Nagios
Varnish Cache and Django (Falcon, Flask etc)
Varnish Cache and Django (Falcon, Flask etc)
Данил Иванов
Varnish
Varnish
Joshua Estes
Puppet @ Seat
Puppet @ Seat
Alessandro Franceschi
Tatsumaki
Tatsumaki
Tatsuhiko Miyagawa
Clug 2012 March web server optimisation
Clug 2012 March web server optimisation
grooverdan
Debugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 Version
Ian Barber
Facebook的缓存系统
Facebook的缓存系统
yiditushe
Altitude San Francisco 2018: Programming the Edge
Altitude San Francisco 2018: Programming the Edge
Fastly
Ch10.애플리케이션 서버의 병목_발견_방법
Ch10.애플리케이션 서버의 병목_발견_방법
Minchul Jung
Test driven infrastructure
Test driven infrastructure
Skills Matter Talks
8 Minutes On Rack
8 Minutes On Rack
danwrong
Debugging: Rules & Tools
Debugging: Rules & Tools
Ian Barber
Php Unit With Zend Framework Zendcon09
Php Unit With Zend Framework Zendcon09
Michelangelo van Dam
My sql failover test using orchestrator
My sql failover test using orchestrator
YoungHeon (Roy) Kim
Similar a tokyo.vcl発表資料(varnish+squid)
(20)
Introduction to Protractor
Introduction to Protractor
Tomcat连接池配置方法V2.1
Tomcat连接池配置方法V2.1
HTTP Caching and PHP
HTTP Caching and PHP
Puppet
Puppet
Nginx + PHP
Nginx + PHP
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and Nagios
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and Nagios
Varnish Cache and Django (Falcon, Flask etc)
Varnish Cache and Django (Falcon, Flask etc)
Varnish
Varnish
Puppet @ Seat
Puppet @ Seat
Tatsumaki
Tatsumaki
Clug 2012 March web server optimisation
Clug 2012 March web server optimisation
Debugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 Version
Facebook的缓存系统
Facebook的缓存系统
Altitude San Francisco 2018: Programming the Edge
Altitude San Francisco 2018: Programming the Edge
Ch10.애플리케이션 서버의 병목_발견_방법
Ch10.애플리케이션 서버의 병목_발견_방법
Test driven infrastructure
Test driven infrastructure
8 Minutes On Rack
8 Minutes On Rack
Debugging: Rules & Tools
Debugging: Rules & Tools
Php Unit With Zend Framework Zendcon09
Php Unit With Zend Framework Zendcon09
My sql failover test using orchestrator
My sql failover test using orchestrator
Más de Yasuhiro Araki, Ph.D
1999年JUSメールサーバワークショップ@伊勢志摩
1999年JUSメールサーバワークショップ@伊勢志摩
Yasuhiro Araki, Ph.D
サービスをスケールさせるために AWSと利用者の技術
サービスをスケールさせるために AWSと利用者の技術
Yasuhiro Araki, Ph.D
AWSのIPv6対応状況@JAWS-UG大阪
AWSのIPv6対応状況@JAWS-UG大阪
Yasuhiro Araki, Ph.D
今だから!Amazon CloudFront 徹底活用
今だから!Amazon CloudFront 徹底活用
Yasuhiro Araki, Ph.D
20151016 soracom-araki-02
20151016 soracom-araki-02
Yasuhiro Araki, Ph.D
Webサービス向け、クラウドデザインパターン:アンチパターン紹介
Webサービス向け、クラウドデザインパターン:アンチパターン紹介
Yasuhiro Araki, Ph.D
AWSにみる日本のクラウドのトレンド予測 20150321 jaws-tohoku
AWSにみる日本のクラウドのトレンド予測 20150321 jaws-tohoku
Yasuhiro Araki, Ph.D
20141202 jaws-osaka-hangeki
20141202 jaws-osaka-hangeki
Yasuhiro Araki, Ph.D
20141126 jaws-antipattern
20141126 jaws-antipattern
Yasuhiro Araki, Ph.D
クラウドによる運用の計測と運用価値の表現、その未来
クラウドによる運用の計測と運用価値の表現、その未来
Yasuhiro Araki, Ph.D
AWS 専用線アクセス体験ラボ紹介と開催地立候補のお願い
AWS 専用線アクセス体験ラボ紹介と開催地立候補のお願い
Yasuhiro Araki, Ph.D
20140906 jawsfesta-araki-lt
20140906 jawsfesta-araki-lt
Yasuhiro Araki, Ph.D
20140906 jawsfesta-araki-public
20140906 jawsfesta-araki-public
Yasuhiro Araki, Ph.D
AWSつもり違い10箇条 at 201408 jaws高尾山ビアマウント
AWSつもり違い10箇条 at 201408 jaws高尾山ビアマウント
Yasuhiro Araki, Ph.D
20140717 awssummit2014-cloud-operation
20140717 awssummit2014-cloud-operation
Yasuhiro Araki, Ph.D
20140628 AWSの2014前半のアップデートまとめ
20140628 AWSの2014前半のアップデートまとめ
Yasuhiro Araki, Ph.D
20140621 july techfesta (JTF2014) 突発**むけAWS
20140621 july techfesta (JTF2014) 突発**むけAWS
Yasuhiro Araki, Ph.D
MTのスケールアップパターン with AWS
MTのスケールアップパターン with AWS
Yasuhiro Araki, Ph.D
S3をてなづけてオレオレバックエンドにしてみた話
S3をてなづけてオレオレバックエンドにしてみた話
Yasuhiro Araki, Ph.D
20140418 aws-casual-network
20140418 aws-casual-network
Yasuhiro Araki, Ph.D
Más de Yasuhiro Araki, Ph.D
(20)
1999年JUSメールサーバワークショップ@伊勢志摩
1999年JUSメールサーバワークショップ@伊勢志摩
サービスをスケールさせるために AWSと利用者の技術
サービスをスケールさせるために AWSと利用者の技術
AWSのIPv6対応状況@JAWS-UG大阪
AWSのIPv6対応状況@JAWS-UG大阪
今だから!Amazon CloudFront 徹底活用
今だから!Amazon CloudFront 徹底活用
20151016 soracom-araki-02
20151016 soracom-araki-02
Webサービス向け、クラウドデザインパターン:アンチパターン紹介
Webサービス向け、クラウドデザインパターン:アンチパターン紹介
AWSにみる日本のクラウドのトレンド予測 20150321 jaws-tohoku
AWSにみる日本のクラウドのトレンド予測 20150321 jaws-tohoku
20141202 jaws-osaka-hangeki
20141202 jaws-osaka-hangeki
20141126 jaws-antipattern
20141126 jaws-antipattern
クラウドによる運用の計測と運用価値の表現、その未来
クラウドによる運用の計測と運用価値の表現、その未来
AWS 専用線アクセス体験ラボ紹介と開催地立候補のお願い
AWS 専用線アクセス体験ラボ紹介と開催地立候補のお願い
20140906 jawsfesta-araki-lt
20140906 jawsfesta-araki-lt
20140906 jawsfesta-araki-public
20140906 jawsfesta-araki-public
AWSつもり違い10箇条 at 201408 jaws高尾山ビアマウント
AWSつもり違い10箇条 at 201408 jaws高尾山ビアマウント
20140717 awssummit2014-cloud-operation
20140717 awssummit2014-cloud-operation
20140628 AWSの2014前半のアップデートまとめ
20140628 AWSの2014前半のアップデートまとめ
20140621 july techfesta (JTF2014) 突発**むけAWS
20140621 july techfesta (JTF2014) 突発**むけAWS
MTのスケールアップパターン with AWS
MTのスケールアップパターン with AWS
S3をてなづけてオレオレバックエンドにしてみた話
S3をてなづけてオレオレバックエンドにしてみた話
20140418 aws-casual-network
20140418 aws-casual-network
Último
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
apidays
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
Rustici Software
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Angeliki Cooney
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Orbitshub
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Orbitshub
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Jago de Vreede
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
apidays
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Jeffrey Haguewood
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
UiPathCommunity
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
The Digital Insurer
Último
(20)
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
tokyo.vcl発表資料(varnish+squid)
1.
Varnish Squid
w/ puppet @ar1
2.
§
§ Debian § Amazon Web Services ú Solutions Architect ú
3.
LoadBalance:
HighSpeed-‐ LVS Cache HAProxy
4.
(
)
5.
6.
!
7.
8.
Cache
Shareing LoadBalance: HighSpeed-‐ Sibling LVS Cache HAProxy
9.
Request URI test-‐a.example.jp
varnish cache cache squid
10.
squid
cache cache sibling HTTPD
11.
Config: squid [sibling.conf]
cache_peer 10.2.1.26 sibling 80 3130 [squid.conf] http_port 8801 accel defaultsite=test-‐a-‐origin.example.jp cache_peer test-‐a-‐origin.example.jp parent 80 0 originserver name=test-‐a-‐origin_example_jp acl test-‐a-‐origin_example_jp dstdomain test-‐a-‐origin.example.jp http_access allow test-‐a-‐origin_example_jp cache_peer_access test-‐a-‐origin_example_jp allow test-‐a-‐origin_example_jp cache_peer_access test-‐a-‐origin_example_jp deny all http_port 8802 accel defaultsite=test-‐k.example.jp cache_peer test-‐k.example.jp parent 80 0 originserver name=test-‐k_example_jp acl test-‐k_example_jp dstdomain test-‐k.example.jp http_access allow test-‐k_example_jp cache_peer_access test-‐k_example_jp allow test-‐k_example_jp cache_peer_access test-‐k_example_jp deny all http_port 8803 accel defaultsite=test-‐a.example.jp cache_peer test-‐a.example.jp parent 80 0 originserver name=test-‐a_example_jp acl test-‐a_example_jp dstdomain test-‐a.example.jp http_access allow test-‐a_example_jp cache_peer_access test-‐a_example_jp allow test-‐a_example_jp cache_peer_access test-‐a_example_jp deny all
12.
Config: varnish sub
vcl_recv { backend proxy5_test_a_origin_example_jp { if (req.http.If-‐Modified-‐Since) { .host = "10.2.1.26"; error 304; .port = "8801"; } .connect_timeout = 30ms; if (req.http.host == "test-‐a-‐origin.example.jp"){ } set req.backend = test_a_origin_example_jp; backend proxy5_test_k_example_jp { } elsif (req.http.host == "test-‐k.example.jp"){ .host = "10.2.1.26"; set req.backend = test_k_example_jp; .port = "8802"; .connect_timeout = 30ms; } elsif (req.http.host == "test-‐a.example.jp"){ } set req.backend = test_a_example_jp; backend proxy5_test_a_example_jp { } else { .host = "10.2.1.26"; set req.backend = default; .port = "8803"; } .connect_timeout = 30ms; } }
13.
Config: varnish(2) backend
proxy5 { director test_a_origin_example_jp round-‐robin { .host = "10.2.1.26"; { .backend = proxy5_test_a_origin_example_jp; } .port = "80"; { .backend = proxy4_test_a_origin_example_jp; }} .connect_timeout = 30ms;} director test_k_example_jp round-‐robin { backend proxy4_test_a_origin_example_jp { { .backend = proxy5_test_k_example_jp; } .host = "10.2.1.27"; { .backend = proxy4_test_k_example_jp; }} .port = "8801"; director test_a_example_jp round-‐robin { .connect_timeout = 30ms;} { .backend = proxy5_test_a_example_jp; } backend proxy4_test_k_example_jp { { .backend = proxy4_test_a_example_jp; }} .host = "10.2.1.27"; director default round-‐robin { .port = "8802"; { .backend = proxy5; } .connect_timeout = 30ms;} { .backend = proxy4; }} backend proxy4_test_a_example_jp { sub vcl_error{ .host = "10.2.1.27"; if (obj.status == 304) { .port = "8803"; return(deliver);}} .connect_timeout = 30ms;} sub vcl_fetch{ backend proxy4 { unset beresp.http.X-‐Cache; .host = "10.2.1.27"; unset beresp.http.X-‐Cache-‐Lookup; .port = "80"; unset beresp.http.Via; .connect_timeout = 30ms;} unset beresp.http.Server;}
14.
15.
Config: puppet "
$bport = [8801,8802,8803] " $baccel = ["test-‐a-‐origin.example.jp", "testk.example.jp", "test-‐a.example.jp”] " $borigin = ["test-‐a-‐origin.example.jp", "testk.example.jp", "test-‐a.example.jp”] " $siblings = ["10.2.1.26", "10.2.1.27"] " $siblings_hosts = ["proxy5", "proxy4"]
16.
Puppet! "
" Cache Expire " " Varnish 3
Descargar ahora