HomePage » WebServer » Pound


Pound reverse proxy

Installation
Get it from http://www.apsis.ch/pound or install it from your repository. For my testbox, I installed it from yum then install the latest version from source in /usr/local
./configure --with-ssl=/usr/local/ssl \
--with-owner=pound \
--with-group=pound \
--with-maxbuf=1024 \
--sysconfdir=/etc 


Edit /etc/pound.cfg
pound.cfg
User "pound"
Group "pound"
Control "/var/lib/pound/pound.cfg"

ListenHTTP
    Address 0.0.0.0
    Port 80
End

ListenHTTPS
    Address 0.0.0.0
    Port    443
    Cert    "/etc/pki/tls/certs/pound.pem"
End

Service
    BackEnd
        Address 127.0.0.1
        Port    8080
    End

    Session
        Type IP
        TTL 180
    End
   
#    BackEnd
#        Address 127.0.0.1
#        Port    8001
#    End
End


Then start it using service start. So much easier than squid. A primitive test using ab shows that pound+tomcat http connector performs better than apache+jk+tomcat jk connector by 10% in terms of transfer rate, mean time per request is 14% faster, request per second is also 14% more.

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki