Hi everyone,<br><br>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.<br><br>
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.<br>
<br>Machine is a HP server DL320 G5p, Xeon dual-core 2,66Ghz, 2GB RAM.<br><br>I would appreciate some directions on what to do.<br><br>Thank you,<br>Marcelo L.<br><br>ps. below is my changed VCL config file:<br><br>backend default {<br>
set backend.host = "<a href="http://172.16.251.2">172.16.251.2</a>";<br> set backend.port = "80";<br>}<br><br><br>sub vcl_recv {<br> if (req.request == "GET" && req.http.cookie) {<br>
lookup;<br> }<br>}<br><br>sub vcl_fetch {<br> if (obj.http.Set-Cookie) {<br> insert;<br> }<br>}<br><br>sub vcl_fetch {<br> if (obj.ttl < 120s) {<br> set obj.ttl = 120s;<br> }<br>}<br>
<br>sub vcl_fetch {<br> remove obj.http.Set-Cookie;<br>}<br><br>sub vcl_recv {<br> if (req.request == "GET" && req.url ~ "\.(gif|jpg|swf|css|js).*") {<br> lookup;<br> }<br>}<br><br><br>