GeoIP Question - Speed & efficiency

Igor Sysoev is at rambler-co.ru
Sat Aug 16 08:58:03 MSD 2008


On Sat, Aug 16, 2008 at 07:22:20AM +0400, Maxim Dounin wrote:

> >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?
> 
> The only inconvinience of using really large geobases is config 
> reading time.  My currently takes about 30 seconds to load - but 
> that's for more than 30 Mb of data, and not only countries.

If you have many unique values per networks, then this long load time
is caused by searching duplicates of data in array. Otherwise, it
may be caused by insertions to a radix tree.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list