> > A problem with the restart logic is the race it opens since you now
> > have two lookups, but overall, that's the kind of convoluted VCL that
> > should work. The devil might be in the details.
>
> Could you describe this race condition that you mean can happen? What could
> the worst case
On Mo, Mar 23, 2020 at 10:00 AM Dridi Boukelmoune wrote:
>
> For starters, there currently is no way to know for sure that you
> entered vcl_synth because of a return(abandon) transition. There are
> plans to make it possible, but currently you can do that with
> confidence lower than 100%.
I
Hi,
On Fri, Mar 20, 2020 at 10:14 PM Batanun B wrote:
>
> On Thu , Mar 19, 2020 at 11:12 AM Dridi Boukelmoune wrote:
> >
> > Not quite!
> >
> > ttl+grace+keep defines how long an object may stay in the cache
> > (barring any form of invalidation).
> >
> > The grace I'm referring to is
On Thu , Mar 19, 2020 at 11:12 AM Dridi Boukelmoune wrote:
>
> Not quite!
>
> ttl+grace+keep defines how long an object may stay in the cache
> (barring any form of invalidation).
>
> The grace I'm referring to is beresp.grace,
Well, when I wrote "if ttl + grace + keep is a low value set in
On Tue, Mar 17, 2020 at 8:06 PM Batanun B wrote:
>
> Hi Dridi,
>
> On Monday, March 16, 2020 9:58 AM Dridi Boukelmoune wrote:
>
> > Not really, it's actually the other way around. The beresp.grace
> > variable defines how long you may serve an object past its TTL once it
> > enters the cache.
>
Hi Dridi,
On Monday, March 16, 2020 9:58 AM Dridi Boukelmoune wrote:
> Not really, it's actually the other way around. The beresp.grace
> variable defines how long you may serve an object past its TTL once it
> enters the cache.
>
> Subsequent requests can then limit grace mode, so think of
Hi,
On Sun, Mar 15, 2020 at 9:56 PM J X wrote:
>
> Hi,
>
> I'm currently setting up Varnish for a project, and the grace feature
> together with health checks/probes seems to be a great savior when working
> with servers that might misbehave. But I'm not really sure I understand how
> to
Hi,
I'm currently setting up Varnish for a project, and the grace feature together
with health checks/probes seems to be a great savior when working with servers
that might misbehave. But I'm not really sure I understand how to actually
achive that, since the example doesn't really make sense: