Hello Carlos,

Thanks for your answer. About thread contention during invalidation, can
you be more specific ?
At what scale can we encounter such contentions ?
Hundreds of objects linked to a key ? or Thousand ? ten thousand ?

Regards

Olivier


Le lun. 24 sept. 2018 à 18:11, Carlos Abalde <[email protected]> a
écrit :

> Hi Oliver,
>
> I'll let the creators of the VMOD talk here, but I think the only limit is
> the space needed in order to keep the in-memory data structure indexing the
> cached contents.
>
> If you link an object to a lot of keys you might hit varnishd limits like
> max number of headers or the max length of a header. On the other hand, if
> you link a huge number of objects to the same key, that's not a problem at
> all, but you might experience some thread contention during invalidations
> of that key due to the associated locking required by the VMOD.
>
> Best,
>
> --
> Carlos Abalde
>
> > On 24 Sep 2018, at 18:00, Olivier Hanesse <[email protected]>
> wrote:
> >
> > Hello,
> >
> > I'm in the process of testing xkey module, and I didn't find any
> "limits" in the documentation.
> >
> > Is there a limit of setting the same key on a very large number of
> objects ?
> > Is there a limit on the number of key an object can be linked to ?
> >
> > I think, it is mainly a memory / pointer size issue, are those limits
> tunable ?
> >
> > Regards
> >
> > Olivier
> > _______________________________________________
> > varnish-misc mailing list
> > [email protected]
> > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
>
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to