SlideShare una empresa de Scribd logo
1 de 11
Descargar para leer sin conexión
Pound & Varnish
Balanceamento de Carga & Acelerador HTTP




                                           1
Pound
●   O que é o Pound
    –   Proxy Reverso
    –   Balanceador de Carga
    –   Front-End HTTPS para Servidores Web
    –   Licença GPL
●   O que não é o Pound
    –   Servidor Web
    –   Acelerador Web

                                              2
Instalando o Pound no Debian Etch

●   Instalação Simplificada:
    –   # aptitude install pound
●   Arquivo de Configuração
    –   /etc/pound/pound.cfg
    –   /etc/default/pound
         ●   startup=1




                                   3
pound.cfg
## Logging: (goes to syslog by default)
##      0       no logging
##      1       normal
##      2       extended
##      3       Apache-style (common log format)
LogLevel        1

## check backend every X secs:
Alive           30

ListenHTTP
        Address www.site.com
        Port    80

       Service
                 BackEnd
                           Address zope1.site.com
                           Port    8080
                 End

                 BackEnd
                           Address zope2.site.com
                           Port    8080
                 End
       End
End
                                                    4
Virtual Host no Zope




                       5
Varnish
●   É um acelerador HTTP somente
●   Melhor Configuração
●   Melhor Gerenciamento
●   Rápido
●   Características de Gerenciador de
    Conteúdo
●   Licença BSD

                                        6
Instalando o Varnish no Debian Etch

●   Instalação Simplificada:
    –   # aptitude install varnish
●   Arquivo de Configuração:
    –   /etc/varnish/vcl.conf




                                      7
vcl.conf
●   https://dl324b-1.cmb.usc.edu/projects/hapmap/browser/variation/trunk/web_interface/optilux-code-2007-10-21/extra


     –   plone-varnish-1.0.vcl
     –   plone.vcl




                                                                                                               8
Quem usa Varnish?
connect: (www.plone.org, 80)
send: 'GET / HTTP/1.0rnHost: www.plone.orgrnUser-agent: Python-urllib/1.16r
nrn'
reply: 'HTTP/1.1 302 Moved Temporarilyrn'
header: Server: nginx/0.5.26
header: Date: Mon, 15 Sep 2008 01:57:42 GMT
header: Content-Type: text/html
header: Content-Length: 161
header: Connection: close
header: Location: http://plone.org/
connect: (plone.org, 80)
(...)
header: Expires: Fri, 18 Sep 1998 01:56:49 GMT
header: Vary: Accept-Encoding
header: Last-Modified: Sun, 04 Dec 2005 12:13:31 GMT
header: X-Cache-Rules-Applied: yes
header: X-Caching-Rule-Id: frontpage
header: Cache-Control: max-age=0, s-maxage=3600, must-revalidate
header: X-Header-Set-Id: cache-in-proxy-1-hour
header: Content-Length: 46357
header: X-Varnish: 1899243585 1899243396
header: Age: 54
header: Via: 1.1 varnish

                                                                                   9
Informações
●   http://www.apsis.ch/pound/
●   http://varnish.projects.linpro.no/




                                         10
Palestrante

     Rogerio Ferreira, trabalha
     na   4Linux  como    Consultor
     responsável     por      Infra
     Estrutura e Projetos de Zope
     e Plone. Possui Certificação
     LPIC-1, LPIC-2 e LPIC-3. É
     autor de Projeto de Software
     Livre em Governo Estadual,
     participou  de    Projeto   de
     Zope/Plone     no      Governo
     Federal.




                                 11

Más contenido relacionado

La actualidad más candente

La actualidad más candente (19)

WebSockets with PHP: Mission impossible
WebSockets with PHP: Mission impossibleWebSockets with PHP: Mission impossible
WebSockets with PHP: Mission impossible
 
Integration with hdfs using WebDFS and NFS
Integration with hdfs using WebDFS and NFSIntegration with hdfs using WebDFS and NFS
Integration with hdfs using WebDFS and NFS
 
Lamp configuration u buntu 10.04
Lamp configuration   u buntu 10.04Lamp configuration   u buntu 10.04
Lamp configuration u buntu 10.04
 
WebHDFS at King - May 2014 Hadoop MeetUp
WebHDFS at King - May 2014 Hadoop MeetUpWebHDFS at King - May 2014 Hadoop MeetUp
WebHDFS at King - May 2014 Hadoop MeetUp
 
tit
tittit
tit
 
Apache Httpd and TLS certificates validations
Apache Httpd and TLS certificates validationsApache Httpd and TLS certificates validations
Apache Httpd and TLS certificates validations
 
Networking in Gnu/Linux
Networking in Gnu/LinuxNetworking in Gnu/Linux
Networking in Gnu/Linux
 
Dns centos
Dns centosDns centos
Dns centos
 
sshuttle VPN (2011-04)
sshuttle VPN (2011-04)sshuttle VPN (2011-04)
sshuttle VPN (2011-04)
 
!!! Huong dan !!!
!!! Huong dan !!!!!! Huong dan !!!
!!! Huong dan !!!
 
Nginx
NginxNginx
Nginx
 
OpenVPN
OpenVPNOpenVPN
OpenVPN
 
Nat
NatNat
Nat
 
skipfish
skipfishskipfish
skipfish
 
re7jweiss
re7jweissre7jweiss
re7jweiss
 
PHP Project development with Vagrant
PHP Project development with VagrantPHP Project development with Vagrant
PHP Project development with Vagrant
 
Unidade3 roteiro proxy
Unidade3 roteiro proxyUnidade3 roteiro proxy
Unidade3 roteiro proxy
 
Modul quick debserver
Modul quick debserverModul quick debserver
Modul quick debserver
 
Install ovs on local pc
Install ovs on local pcInstall ovs on local pc
Install ovs on local pc
 

Destacado

Quirino hernandez adan eduardo
Quirino hernandez adan eduardoQuirino hernandez adan eduardo
Quirino hernandez adan eduardoadanquirino
 
Reseña presentacion oral
Reseña presentacion oralReseña presentacion oral
Reseña presentacion oralAbigailSegovia
 
Teoría General de Sistemas
Teoría General de SistemasTeoría General de Sistemas
Teoría General de SistemasJuan Piizz Z
 
Publizitatearen Historia 1
Publizitatearen Historia 1Publizitatearen Historia 1
Publizitatearen Historia 1katixa
 

Destacado (9)

Reseña+nú..
Reseña+nú..Reseña+nú..
Reseña+nú..
 
Quirino hernandez adan eduardo
Quirino hernandez adan eduardoQuirino hernandez adan eduardo
Quirino hernandez adan eduardo
 
Reseña presentacion oral
Reseña presentacion oralReseña presentacion oral
Reseña presentacion oral
 
Teoría General de Sistemas
Teoría General de SistemasTeoría General de Sistemas
Teoría General de Sistemas
 
Esquema tema 8
Esquema tema 8Esquema tema 8
Esquema tema 8
 
Scan0007
Scan0007Scan0007
Scan0007
 
Publizitatearen Historia 1
Publizitatearen Historia 1Publizitatearen Historia 1
Publizitatearen Historia 1
 
Corferias feria gastronomia
Corferias feria gastronomiaCorferias feria gastronomia
Corferias feria gastronomia
 
Corferias alimentec
Corferias alimentecCorferias alimentec
Corferias alimentec
 

Similar a Pound Varnish

HAProxy scale out using open source
HAProxy scale out using open sourceHAProxy scale out using open source
HAProxy scale out using open sourceIngo Walz
 
Devoxx Maroc 2015 HTTP 1, HTTP 2 and folks
Devoxx Maroc  2015 HTTP 1, HTTP 2 and folksDevoxx Maroc  2015 HTTP 1, HTTP 2 and folks
Devoxx Maroc 2015 HTTP 1, HTTP 2 and folksNicolas Martignole
 
FreeBSD, ipfw and OpenVPN 2.1 server
FreeBSD, ipfw and OpenVPN 2.1 serverFreeBSD, ipfw and OpenVPN 2.1 server
FreeBSD, ipfw and OpenVPN 2.1 serverTomaz Muraus
 
Alfresco Security Best Practices 2012
Alfresco Security Best Practices 2012Alfresco Security Best Practices 2012
Alfresco Security Best Practices 2012Toni de la Fuente
 
Raspberry Pi + ROS
Raspberry Pi + ROSRaspberry Pi + ROS
Raspberry Pi + ROSArnoldBail
 
Fluentd and PHP
Fluentd and PHPFluentd and PHP
Fluentd and PHPchobi e
 
Scalable Architecture 101
Scalable Architecture 101Scalable Architecture 101
Scalable Architecture 101ConFoo
 
Prepare for PHP Test Fest 2009
Prepare for PHP Test Fest 2009Prepare for PHP Test Fest 2009
Prepare for PHP Test Fest 2009PHPBelgium
 
Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!Jeff Jones
 
H2O - the optimized HTTP server
H2O - the optimized HTTP serverH2O - the optimized HTTP server
H2O - the optimized HTTP serverKazuho Oku
 
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdfJean-Frederic Clere
 
Owasp AppSecEU 2015 - BeEF Session
Owasp AppSecEU 2015 - BeEF SessionOwasp AppSecEU 2015 - BeEF Session
Owasp AppSecEU 2015 - BeEF SessionBart Leppens
 
Composer - Package Management for PHP. Silver Bullet?
Composer - Package Management for PHP. Silver Bullet?Composer - Package Management for PHP. Silver Bullet?
Composer - Package Management for PHP. Silver Bullet?Kirill Chebunin
 
HTTP2 and gRPC
HTTP2 and gRPCHTTP2 and gRPC
HTTP2 and gRPCGuo Jing
 
IPv6 for Pentesters
IPv6 for PentestersIPv6 for Pentesters
IPv6 for Pentesterscamsec
 
Internet Archive Video Presentation
Internet Archive Video Presentation Internet Archive Video Presentation
Internet Archive Video Presentation tracey jaquith
 

Similar a Pound Varnish (20)

HAProxy scale out using open source
HAProxy scale out using open sourceHAProxy scale out using open source
HAProxy scale out using open source
 
Deploy your own P2P network
Deploy your own P2P networkDeploy your own P2P network
Deploy your own P2P network
 
Devoxx Maroc 2015 HTTP 1, HTTP 2 and folks
Devoxx Maroc  2015 HTTP 1, HTTP 2 and folksDevoxx Maroc  2015 HTTP 1, HTTP 2 and folks
Devoxx Maroc 2015 HTTP 1, HTTP 2 and folks
 
FreeBSD, ipfw and OpenVPN 2.1 server
FreeBSD, ipfw and OpenVPN 2.1 serverFreeBSD, ipfw and OpenVPN 2.1 server
FreeBSD, ipfw and OpenVPN 2.1 server
 
Alfresco Security Best Practices 2012
Alfresco Security Best Practices 2012Alfresco Security Best Practices 2012
Alfresco Security Best Practices 2012
 
Raspberry Pi + ROS
Raspberry Pi + ROSRaspberry Pi + ROS
Raspberry Pi + ROS
 
Fluentd and PHP
Fluentd and PHPFluentd and PHP
Fluentd and PHP
 
Scalable Architecture 101
Scalable Architecture 101Scalable Architecture 101
Scalable Architecture 101
 
Prepare for PHP Test Fest 2009
Prepare for PHP Test Fest 2009Prepare for PHP Test Fest 2009
Prepare for PHP Test Fest 2009
 
Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!
 
H2O - the optimized HTTP server
H2O - the optimized HTTP serverH2O - the optimized HTTP server
H2O - the optimized HTTP server
 
Node.js in production
Node.js in productionNode.js in production
Node.js in production
 
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
 
Owasp AppSecEU 2015 - BeEF Session
Owasp AppSecEU 2015 - BeEF SessionOwasp AppSecEU 2015 - BeEF Session
Owasp AppSecEU 2015 - BeEF Session
 
Composer - Package Management for PHP. Silver Bullet?
Composer - Package Management for PHP. Silver Bullet?Composer - Package Management for PHP. Silver Bullet?
Composer - Package Management for PHP. Silver Bullet?
 
HTTP2 and gRPC
HTTP2 and gRPCHTTP2 and gRPC
HTTP2 and gRPC
 
Http Status Report
Http Status ReportHttp Status Report
Http Status Report
 
IPv6 for Pentesters
IPv6 for PentestersIPv6 for Pentesters
IPv6 for Pentesters
 
IPv6 for Pentesters
IPv6 for PentestersIPv6 for Pentesters
IPv6 for Pentesters
 
Internet Archive Video Presentation
Internet Archive Video Presentation Internet Archive Video Presentation
Internet Archive Video Presentation
 

Último

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Último (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Pound Varnish

  • 1. Pound & Varnish Balanceamento de Carga & Acelerador HTTP 1
  • 2. Pound ● O que é o Pound – Proxy Reverso – Balanceador de Carga – Front-End HTTPS para Servidores Web – Licença GPL ● O que não é o Pound – Servidor Web – Acelerador Web 2
  • 3. Instalando o Pound no Debian Etch ● Instalação Simplificada: – # aptitude install pound ● Arquivo de Configuração – /etc/pound/pound.cfg – /etc/default/pound ● startup=1 3
  • 4. pound.cfg ## Logging: (goes to syslog by default) ## 0 no logging ## 1 normal ## 2 extended ## 3 Apache-style (common log format) LogLevel 1 ## check backend every X secs: Alive 30 ListenHTTP Address www.site.com Port 80 Service BackEnd Address zope1.site.com Port 8080 End BackEnd Address zope2.site.com Port 8080 End End End 4
  • 6. Varnish ● É um acelerador HTTP somente ● Melhor Configuração ● Melhor Gerenciamento ● Rápido ● Características de Gerenciador de Conteúdo ● Licença BSD 6
  • 7. Instalando o Varnish no Debian Etch ● Instalação Simplificada: – # aptitude install varnish ● Arquivo de Configuração: – /etc/varnish/vcl.conf 7
  • 8. vcl.conf ● https://dl324b-1.cmb.usc.edu/projects/hapmap/browser/variation/trunk/web_interface/optilux-code-2007-10-21/extra – plone-varnish-1.0.vcl – plone.vcl 8
  • 9. Quem usa Varnish? connect: (www.plone.org, 80) send: 'GET / HTTP/1.0rnHost: www.plone.orgrnUser-agent: Python-urllib/1.16r nrn' reply: 'HTTP/1.1 302 Moved Temporarilyrn' header: Server: nginx/0.5.26 header: Date: Mon, 15 Sep 2008 01:57:42 GMT header: Content-Type: text/html header: Content-Length: 161 header: Connection: close header: Location: http://plone.org/ connect: (plone.org, 80) (...) header: Expires: Fri, 18 Sep 1998 01:56:49 GMT header: Vary: Accept-Encoding header: Last-Modified: Sun, 04 Dec 2005 12:13:31 GMT header: X-Cache-Rules-Applied: yes header: X-Caching-Rule-Id: frontpage header: Cache-Control: max-age=0, s-maxage=3600, must-revalidate header: X-Header-Set-Id: cache-in-proxy-1-hour header: Content-Length: 46357 header: X-Varnish: 1899243585 1899243396 header: Age: 54 header: Via: 1.1 varnish 9
  • 10. Informações ● http://www.apsis.ch/pound/ ● http://varnish.projects.linpro.no/ 10
  • 11. Palestrante Rogerio Ferreira, trabalha na 4Linux como Consultor responsável por Infra Estrutura e Projetos de Zope e Plone. Possui Certificação LPIC-1, LPIC-2 e LPIC-3. É autor de Projeto de Software Livre em Governo Estadual, participou de Projeto de Zope/Plone no Governo Federal. 11