Limits in xkey module usage ?

Olivier Hanesse olivier.hanesse at gmail.com
Tue Sep 25 09:27:43 UTC 2018


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 <carlos.abalde at gmail.com> 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 <olivier.hanesse at gmail.com>
> 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
> > varnish-misc at varnish-cache.org
> > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20180925/1d9d682c/attachment.html>


More information about the varnish-misc mailing list