Hi,<br><br><div class="gmail_quote">On Wed, Oct 3, 2012 at 9:31 PM, S Ahmed <span dir="ltr"><<a href="mailto:sahmed1020@gmail.com" target="_blank">sahmed1020@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I was reading: <a href="https://www.varnish-software.com/static/book/Cache_invalidation.html" target="_blank">https://www.varnish-software.com/static/book/Cache_invalidation.html</a><div><br></div><div>My main question is, what sort of # of ban requests can one realistically send to varnish to invalid caches? (individual items, not ranges etc.)</div>

</blockquote><div><br></div><div>I would limit bans to maybe 10-30 per second, no more. Make sure they are lurker-friendly.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Say a site like tumblr is using varnish, which has thousands and thousands of blogs, and so many blog entries are being updated via comments etc.  How realistic would sending 1K ban's be to varnish?</div></blockquote>

<div><br></div><div>Sending 1k purges to Varnish would be no problem at all. Bans - I'm not sure that is a good idea.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Maybe I have misunderstood this, but I'm guessing their are ruby/java client libraries that when content gets updated in a web application, I could then send a request using the ruby/java client library to ban a specific item from cache right?</div>



<div><br></div><div>If there are client libraries, where can they be found?  I'm looking for both ruby and java.</div></blockquote><div><br></div><div>It might make sense to implement it yourself. It is dead simple and you don't need the complexities of a generic library.</div>

</div><div><br></div>-- <br><img src="http://www.varnish-software.com/sites/default/files/varnishsoft_white_190x47.png"><div>Per Buer<br>Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer<br><i>Varnish makes websites fly!</i><div>

<a href="http://www.varnish-software.com/whitepapers" target="_blank">Whitepapers</a> | <a href="http://www.youtube.com/watch?v=x7t2Sp174eI" target="_blank">Video</a> | <a href="https://twitter.com/varnishsoftware" target="_blank">Twitter</a> <br>

<br></div></div><br>