Re: [PEPr] Comment on Networking::GeoIP

From: Date: Thu, 17 Jun 2004 19:23:07 +0000
Subject: Re: [PEPr] Comment on Networking::GeoIP
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30887@lists.php.net to get a copy of this message
Tomas V.V.Cox wrote:
It should be indeed, sadly isn't taken in mind many times. I know some classes in PEAR that can't handle big volumes of data or users, and apart for being useless in some cases, throws over the whole PEAR the sensation of a newbie collection of classes.
Ok, fair enough. It seemed arbitrary, but I guess the end result is generally for web apps & perhaps if it isn't fast enough it shouldn't be written in PHP [period].
then I hope you'll be pleased to learn that I can
instantiate the class and perform 500 IP address lookups in 1 second (+/- 0.1).
Is not the 1000 per sec of ip 2 country tools (http://weirdsilence.net/ip2c.php), but is good enough.
Well, as my subsequent email indicated, it's actually 2000 req/s on my machine when doing simple ip-to-country lookups. The 500 lookup/s is for IP to city, region, country, latitude, longitude, postal code, tel. area code, DMA code. Hans

« previous php.pear.dev (#30887) next »