<div dir="ltr">This change would definitely help! From what I'm seeing both ip2loc and maxmind are just as accurate when it comes to country tags, which is what we're aiming for.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 28, 2016 at 9:41 AM, Thomas Lecomte <span dir="ltr"><<a href="mailto:thomas.lecomte@virtual-expo.com" target="_blank">thomas.lecomte@virtual-expo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Nov 28, 2016 at 8:34 AM, Andrei <<a href="mailto:lagged@gmail.com">lagged@gmail.com</a>> wrote:<br>
> Thank you both for the awesome input. Running stat on a file each time a<br>
> request comes in is something I would like to avoid. Would it be possible to<br>
> go by the varnishd uptime instead, and trigger database checks every N<br>
> seconds instead? We're looking to push around 5k req/s on average which is<br>
> why I'm trying to avoid the added syscalls.<br>
<br>
</span>Indeed it would make more sense. If you are interested in ip2location<br>
and plan to use this vmod, I can change the its behavior as you<br>
suggested, it should be pretty straightforward.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Thomas Lecomte | Sysadmin @ Virtual Expo<br>
</div></div></blockquote></div><br></div>