MaxMind
Support My Account FAQ My Order
Support My Account FAQ My Order

Strategic Partnership Program
Private Label Program
Affiliate Program
Company Introduction
News
Open Source
Terms of Use
Contact


API Benchmarks

The following is some of our benchmark information comparing the different APIs, to help you optimize your system and get the most out of your MaxMind database.

C API (mod_geoip, Perl XS, and PHP Extension APIs should have similar performance, since they wrap the C API.)
GeoIP Database Cache Queries/Second
GeoIP Country None 413,027
GeoIP Country GEOIP_CHECK_CACHE 333,583
GeoIP Country GEOIP_MEMORY_CACHE 1,040,423
GeoIP Country GEOIP_MEMORY_CACHE and GEOIP_CHECK_CACHE 212,568
GeoIP Region None 291,394
GeoIP Region GEOIP_CHECK_CACHE 168,434
GeoIP Region GEOIP_MEMORY_CACHE 817,529
GeoIP Region GEOIP_MEMORY_CACHE and GEOIP_CHECK_CACHE 198,859
GeoIP City None 22,211
GeoIP City GEOIP_INDEX_CACHE 38,406
GeoIP City GEOIP_MEMORY_CACHE 50,438
GeoIP City GEOIP_INDEX_CACHE and GEOIP_CHECK_CACHE 24,514
Java API
GeoIP Database Cache Queries/Second
GeoIP Country None 6,944
GeoIP Country GEOIP_MEMORY_CACHE 18,181
GeoIP Region None 9,772
GeoIP Region GEOIP_MEMORY_CACHE 13,953
GeoIP City None 5,703
GeoIP City GEOIP_MEMORY_CACHE 8,982
Pure PHP API
GeoIP Database Cache Queries/Second
GeoIP Country None 875
GeoIP Country GEOIP_MEMORY_CACHE 1,021
GeoIP Region None 819
GeoIP Region GEOIP_MEMORY_CACHE 757
GeoIP City None 619
GeoIP City GEOIP_MEMORY_CACHE 794

The benchmarks were run on a Celeron 1.7 GHz machine with an IDE hard drive.


MaxMind, GeoIP and related marks are registered trademarks of MaxMind, Inc.
Copyright © 2008 MaxMind, Inc. All Rights Reserved. Terms of use.