Re: [PATCH] Drop old grace objects when we have a new object that matches the Vary

2012-06-07 Thread Nils Goroll
Hi Doc and All, unfortunately, I don't have time for a closer look at this atm, but I'd like to point out that I had posted a patch following an alternative approach in 2010-11: https://www.varnish-cache.org/lists/pipermail/varnish-dev/2010-November/006600.html At the time, the idea was to expire

Re: [PATCH] Drop old grace objects when we have a new object that matches the Vary

2012-02-13 Thread Rogier R. Mulhuijzen
And of course, I forgot to take out a debugging stat counter. Please ignore its existence. ___ varnish-dev mailing list varnish-dev@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Re: [PATCH] Drop old grace objects when we have a new object that matches the Vary

2012-01-17 Thread Poul-Henning Kamp
In message <1326668904-24963-1-git-send-email-git...@bsdchicks.com>, Rogier 'Do cWilco' Mulhuijzen writes: A bunch of comments of mostly stylistic nature >+ struct objcore *grace_oc; /* == stale_oc */ Which is it ? grace_oc or stale_oc ? choose one. >+void >+EXP_Remove(struc

[PATCH] Drop old grace objects when we have a new object that matches the Vary

2012-01-15 Thread Rogier 'DocWilco' Mulhuijzen
(Now with yummy VRY_Compare!) Also add EXP_Remove, to allow removing objects with touching them. This patch makes it possible to have a very short TTL, but a long grace. Normally, if you were to set a 1s TTL and a 86400s grace, you would end up with 86400 objects on a single objecthead, not even

Re: [PATCH] Drop old grace objects when we have a new object that matches the Vary

2012-01-06 Thread Artur Bergman
On Jan 6, 2012, at 1:47 AM, Per Buer wrote: > On Fri, Jan 6, 2012 at 4:22 AM, Rogier 'DocWilco' Mulhuijzen > wrote: > Also add EXP_Remove, to allow removing objects with touching them. > > This patch makes it possible to have a very short TTL, but a long grace. > Normally, if you were to set a

[PATCH] Drop old grace objects when we have a new object that matches the Vary

2012-01-06 Thread Rogier 'DocWilco' Mulhuijzen
(Lessen learned: do not email patches at 6am. I've done a few small fixups, so here it is again.) Also add EXP_Remove, to allow removing objects with touching them. This patch makes it possible to have a very short TTL, but a long grace. Normally, if you were to set a 1s TTL and a 86400s grace, y

Re: [PATCH] Drop old grace objects when we have a new object that matches the Vary

2012-01-06 Thread Per Buer
On Fri, Jan 6, 2012 at 4:22 AM, Rogier 'DocWilco' Mulhuijzen < git...@bsdchicks.com> wrote: > Also add EXP_Remove, to allow removing objects with touching them. > > This patch makes it possible to have a very short TTL, but a long grace. > Normally, if you were to set a 1s TTL and a 86400s grace,

Re: [PATCH] Drop old grace objects when we have a new object that matches the Vary

2012-01-05 Thread Rogier R. Mulhuijzen
And of course, I forgot to take out a debugging stat counter. Please ignore its existence. Cheers, Doc ___ varnish-dev mailing list varnish-dev@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

[PATCH] Drop old grace objects when we have a new object that matches the Vary

2012-01-05 Thread Rogier 'DocWilco' Mulhuijzen
Also add EXP_Remove, to allow removing objects with touching them. This patch makes it possible to have a very short TTL, but a long grace. Normally, if you were to set a 1s TTL and a 86400s grace, you would end up with 86400 objects on a single objecthead, not even taking into account Vary. With