Varnish config/performance with Domino Webmail

MARCELO LICASTRO PAGNI mlp1 at ig.com.br
Tue Apr 8 02:02:51 CEST 2008


Hi everyone,

I am setting up a new server that will sit into a DMZ to serve as a reverse
proxy for our company's Lotus Domino webmail. Having heard about Varnish, my
choice couldn't be something else.

I've set it up with the default configuration, but its performance showed to
be very, very poor. I've tried some tweaks to the VCL config file, but it
did not change. Performance is twice, tree times worst than directly
accesing the original server.

Machine is a HP server DL320 G5p, Xeon dual-core 2,66Ghz, 2GB RAM.

I would appreciate some directions on what to do.

Thank you,
Marcelo L.

ps. below is my changed VCL config file:

backend default {
        set backend.host = "172.16.251.2";
        set backend.port = "80";
}


sub vcl_recv {
    if (req.request == "GET" && req.http.cookie) {
        lookup;
    }
}

sub vcl_fetch {
    if (obj.http.Set-Cookie) {
        insert;
    }
}

sub vcl_fetch {
    if (obj.ttl < 120s) {
        set obj.ttl = 120s;
    }
}

sub vcl_fetch {
    remove obj.http.Set-Cookie;
}

sub vcl_recv {
 if (req.request == "GET" && req.url ~ "\.(gif|jpg|swf|css|js).*") {
    lookup;
 }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20080407/3be58f32/attachment-0001.html>


More information about the varnish-misc mailing list