Re: Two New HTTP Caching Extensions
On Tue, Apr 8, 2008 at 4:34 PM, Ricardo Newbery <[EMAIL PROTECTED]> wrote: > > I should add a qualifier to my vote, that stale-while-revalidate > > generally is used to mask suboptimal backend performance and so I > > discourage it in favor of fixing the backend. > > Of course the main premise of a reverse-proxy cache is to mask suboptimal > backend performance. :-) Except, in this case, you are presumably already relieving your backend of a significant burden with your cache. if your backend is *still* unable to process requests to fulfill a request from the caching layer within a reasonable time, you're in serious trouble indeed. --Michael ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: Varnish config/performance with Domino Webmail
Marcelo L. <[EMAIL PROTECTED]> writes: > Hi people, any comments on this? I really need some directions, some > guidance on what to do or where to search more... Please. You haven't provided any information whatsoever on what you think is wrong. No logs, no performance numbers, nothing. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: Varnish config/performance with Domino Webmail
MARCELO LICASTRO PAGNI <[EMAIL PROTECTED]> writes: > > 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; }} > > ___ > varnish-misc mailing list > [EMAIL PROTECTED] > http://projects.linpro.no/mailman/listinfo/varnish-misc > Hi people, any comments on this? I really need some directions, some guidance on what to do or where to search more... Please. Thanks, Marcelo L. ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
RE: Re: No subject
>> Hmm, not presently I'm afraid. >If possible, you could add this header on the backends. Yepp, I will have to do something like that. ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: No subject
On Wed, 09 Apr 2008 09:09:36 +, "Poul-Henning Kamp" <[EMAIL PROTECTED]> said: > Hmm, not presently I'm afraid. If possible, you could add this header on the backends. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: No subject
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes: >>Hit/Miss status is already in the X-Varnish header, if it has two >>numbers it is a hit. > >What does the numbers stand for? They are varnish transaction numbers. The first is the current requests XID, The second is the XID of the request the created the cached object. >What I want know is which backend was used in the director. Is that possible? Hmm, not presently I'm afraid. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: No subject
>Hit/Miss status is already in the X-Varnish header, if it has two >numbers it is a hit. What does the numbers stand for? >You can set your own header in vcl_recv along with the backend. >Then in vcl_fetch, copy that header from req.foobar to obj.foobar >and you should be all set. I can do like this: vcl_recv set req.backend = mwc; set req.http.X-Backend = "Director"; But no like this: vcl_recv set req.backend = mwc; set req.http.X-Backend = req.backend; I receive: "Starting Varnish: varnishString representation of 'req.backend' not implemented yet. (/usr/local/etc/default.vcl Line 32 Pos 42) set req.http.X-Backend = req.backend; -###- VCL compilation failed" What I want know is which backend was used in the director. Is that possible? Here is my backends and the director: backend windows { .host = "10.1.1.124"; .port = "80"; } director mwc random { { .backend = windows; .weight = 2; } { .backend = { .host = "10.1.1.125"; .port = "80"; } .weight = 8; } } // Erik ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc