<div dir="ltr">i'd say: look at the APIs and pick based on what's the most convenient for you, and also, check the underlying libraries and supported databases.<div><br></div><div>The vmods don't do much but rather leverage libmaxminddb and libgeoip, so they are the real point of focus here in terms or speed and resources.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-- <br></div>Guillaume Quintard<br></div></div></div>
<br><div class="gmail_quote">On Sat, Nov 26, 2016 at 3:22 PM, Andrei <span dir="ltr"><<a href="mailto:lagged@gmail.com" target="_blank">lagged@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>I was wondering if there were any preferences among the community on which vmod (from <a href="https://varnish-cache.org/vmods" target="_blank">https://varnish-cache.org/<wbr>vmods</a>) to use for geolocation, and why. My main concerns are of course speed, resources and accuracy. The ones I'm looking over from the vmods page are:</div><div><br></div><div><div>ip2location - <a href="https://github.com/thlc/libvmod-ip2location" target="_blank">https://github.com/thlc/<wbr>libvmod-ip2location</a></div><div>geoip2 - <a href="https://github.com/fgsch/libvmod-geoip2" target="_blank">https://github.com/fgsch/<wbr>libvmod-geoip2</a></div><div>maxminddb - <a href="https://github.com/simonvik/libvmod_maxminddb" target="_blank">https://github.com/simonvik/<wbr>libvmod_maxminddb</a></div></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- Andrei<br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">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/<wbr>lists/mailman/listinfo/<wbr>varnish-misc</a><br></blockquote></div><br></div>