<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
I am thinking of using the GeoIP module with input from the maxmind
database converted with the perl script as described through the link
on the nginx site.<br>
<br>
I'm curious if the country-ip pairs are managed efficiently so that the
lookup/conversion is very fast or not? That is, does the module do
something like sort the list and then use a binary tree&nbsp; to quickly
locate the country? Is the whole thing loaded in memory? This country
database is quite huge and if this process happens on every hit or even
on only a selected entry page then it could be very slow. Does anyone
here have experience with this?<br>
<br>
For my purposes I only really need to detect continents for deciding if
visitors should pull from one of a few server locations. So presumably
it may be possible to combine many countries into larger blocks so that
there are fewer steps in the lookup. Any input on how speedy or
efficient this has shown to be would be super helpful here.<br>
<br>
Thanks,<br>
Chris :)<br>
</font>
</body>
</html>