kuno / GeoIP

GeoIP binding for nodejs(>=0.10) and iojs
GNU Lesser General Public License v2.1
414 stars 129 forks source link

Sync domain name lookup #25

Closed falsefalse closed 10 years ago

falsefalse commented 12 years ago

_GeoIP_lookupaddress seems to be awfully blocking and therefore slow.

Query by IP is the fastest, ≈1400 reqs/s Using nodejs dns for async lookups yeilds ≈170 reqs/s _GeoIP_lookupaddress only 90 reqs/s

Server code https://github.com/falsefalse/geoip-server/blob/master/server.coffee

kuno commented 10 years ago

Done, will be released with v0.5.0

kuno commented 10 years ago

@falsefalse

Would you mind give me you email, so I can add you as contributor?

falsefalse commented 10 years ago

smashlong@gmail.com On Dec 28, 2013 7:51 AM, "kuno" notifications@github.com wrote:

@falsefalse https://github.com/falsefalse

Would you mind give me you email, so I can add you as contributor?

— Reply to this email directly or view it on GitHubhttps://github.com/kuno/GeoIP/issues/25#issuecomment-31291143 .

kuno commented 10 years ago

thx