View Single Post
Old 09-15-2006, 11:31 AM  
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,141
Quote:
Originally Posted by bl4h
it takes a lot to look up an ip and match it with a city and then draw an image (ive run that database for fun at my house)

they should consider caching the images since they deal with so much traffic.

and i do mean saving an image of every single ip address to disk...

ie: 127001.jpg

or mayve /127/0/0/1.jpg

seems like a lot, but considering the size of the operation its not all that crazy of an idea
I do this but just by caching the image for each city... The db lookup isn't that bad at all if you setup the database properly.
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote