solisunny.blogg.se

Ip2location database
Ip2location database













IP2Location Requests per second: 16747.449752708īecause we will use APCU cache, we need single IP address, first we need to clear CPU cache. The result if we use IP2Location IP DB File IO is: php ip2location_benchmark.php lookup($ip, \IP2Location\Database::ALL) Įcho 'IP2Location Requests per second: '. Let’s see if IP2Location City IP DB File on Disk (SSD). PHP Benchmark IP2Location Lite City IP DB using File IO (Disk) IP2Location can use MEMORY_CACHE for City DB IP File. IP2Location City IP DB was 2.449% faster than Maxmind City IP DB. On this benchmark, IP2Location clearly win in Requests Per Second, Maxmind got speed 1883 Requests Per Second and IP2Location got 46.120 Requests Per Second. PHP Benchmark IP2Location IP DB Request Per Seconds

#IP2LOCATION DATABASE CODE#

PHP Code is for testing IP2Location City IP DB: PHP Code is for testing Maxmind City IP DB: get($ip) Įcho 'Maxmind Requests per second: '. On this benchmark, we use GeoLite2 Free from Maxmind.Īnd for IP2Location Lite IP DB we can download on PHP: 7.4 with Zend-Opcache (and APCU for testing cached IP address).CPU: Intel(R) Xeon(R) CPU E5-1650 v3 3.50GHz 6 Cores 12 Threads.The benchmark use server with specification:

ip2location database

When we want to detect visitor city or country by IP, we can use free version of Maxmind Geolite2 IP DB and IP2Location Lite. This article is about simple benchmark Maxmind Geolite2 IP DB vs IP2Location IP DB.













Ip2location database