<div dir="ltr">Hello Carlos, <div><br></div><div>Thanks for your answer. About thread contention during invalidation, can you be more specific ?</div><div>At what scale can we encounter such contentions ?</div><div>Hundreds of objects linked to a key ? or Thousand ? ten thousand ?</div><div><br></div><div>Regards</div><div><br></div><div>Olivier</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Le lun. 24 sept. 2018 à 18:11, Carlos Abalde <<a href="mailto:carlos.abalde@gmail.com">carlos.abalde@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Oliver,<br>
<br>
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.<br>
<br>
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.<br>
<br>
Best,<br>
<br>
--<br>
Carlos Abalde<br>
<br>
> On 24 Sep 2018, at 18:00, Olivier Hanesse <<a href="mailto:olivier.hanesse@gmail.com" target="_blank">olivier.hanesse@gmail.com</a>> wrote:<br>
> <br>
> Hello, <br>
> <br>
> I'm in the process of testing xkey module, and I didn't find any "limits" in the documentation.<br>
> <br>
> Is there a limit of setting the same key on a very large number of objects ?<br>
> Is there a limit on the number of key an object can be linked to ?<br>
> <br>
> I think, it is mainly a memory / pointer size issue, are those limits tunable ?<br>
> <br>
> Regards<br>
> <br>
> Olivier<br>
> _______________________________________________<br>
> varnish-misc mailing list<br>
> <a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
> <a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
<br>
<br>
</blockquote></div>