Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-17-2004, 03:40 PM   #1
http
Confirmed User
 
Join Date: Oct 2001
Posts: 1,811
Geo-location scripts and their impact on server load

I guess they put quite a load on the server compared to serving the same pages as static files with Apache.

But how much more? Triple for sure, 10-fold maybe, or even much more?

Anbody can share some figures?


How does it i.e. compare to mod_rewriting with regular expressions which is quite the cpu killer. Geo-IP lookups sure aren't heavier on the CPU than THAT one or?


Also, anyone have seen a negative impact on google spidering and listing caused by Geo_location based redirects for say, a few selected countries in Europe and third world?

I guess google sends all their spiders from within the US, even for the regional google's databases - so there should be no negative impact as google will not even notice or?



What Geo-Location scripts do you recommend?
http is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2004, 03:53 PM   #2
Doctor Dre
Too lazy to set a custom title
 
Doctor Dre's Avatar
 
Industry Role:
Join Date: Jan 2001
Posts: 51,692
I've done it with the apache method on a 500k a day site without CPU problems ... unless you get 10 000 000 page views a day ... no worries
__________________
Quote:
Originally Posted by rayadp05 View Post
I rebooted, deleted temp files, history, cookies and everything...still cannot view the news clip. All I see is that fucking gay ass music video from "Rick Roll". Anyone else have a different link to the news clip?
Doctor Dre is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2004, 03:58 PM   #3
Adultnet
Confirmed User
 
Join Date: Sep 2003
Posts: 8,713
Quote:
Originally posted by Doctor Dre
I've done it with the apache method on a 500k a day site without CPU problems ... unless you get 10 000 000 page views a day ... no worries
I guess it will work fine if the server is strong.
__________________


TrafficCashGold Paying Webmasters Since 1996!

Awesome Conversions! Fast Weekly Payments! Over 125 Tours!
Adultnet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2004, 04:15 PM   #4
http
Confirmed User
 
Join Date: Oct 2001
Posts: 1,811
Quote:
Originally posted by Doctor Dre
I've done it with the apache method on a 500k a day site without CPU problems ... unless you get 10 000 000 page views a day ... no worries
What do you mean with apache method


I mean redirects based on surfers IP. The IP needs to be looked up in a table holding all ISP's and their IP allocations.

I don't think apache alone can do this. You may confuse geo-location with apache's built in accepted browser language lookup? That doesn't even come close to the accuracy I need.




Oh and I just came across another BS patent. Meanwhile, geo-locating has been patented too, to these folks http://www.digitalenvoy.net

They are currently suing google over this


http is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2004, 10:26 PM   #5
Ash@phpFX
Confirmed User
 
Join Date: Nov 2003
Posts: 4,292
server load shouldnt be too high at all, btw anyone know where i can get a list of ip ranges and their relavent countries?
Ash@phpFX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2004, 10:32 PM   #6
Varius
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
Quote:
Originally posted by asher
server load shouldnt be too high at all, btw anyone know where i can get a list of ip ranges and their relavent countries?
Most places sell them, should be easy to find.

Or you can have my mysql DB tables and php functions I put together from various sources, to perform like GeoIP redirection....for a price

For commercial companies, try MaxMind , they are used by mysql.com
Varius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2004, 12:40 AM   #7
myneid
Confirmed User
 
myneid's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: Los Angeles
Posts: 736
Quote:
Originally posted by http
What do you mean with apache method


I mean redirects based on surfers IP. The IP needs to be looked up in a table holding all ISP's and their IP allocations.

I don't think apache alone can do this. You may confuse geo-location with apache's built in accepted browser language lookup? That doesn't even come close to the accuracy I need.




Oh and I just came across another BS patent. Meanwhile, geo-locating has been patented too, to these folks http://www.digitalenvoy.net

They are currently suing google over this



I use maxmind's mod_geoip. it kicks ass. i notice no difference in server load on extremely high volume servers.
__________________
Tanguy 0x7a69 inc. Programmer/President/CEO
http://www.0x7a69.com
A Leader in Programming since 1996
PHP, Ruby on Rails, MySQL, PCI DSS, and any Technical Consulting
myneid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2004, 12:43 AM   #8
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
Quote:
Originally posted by http
What do you mean with apache method


I mean redirects based on surfers IP. The IP needs to be looked up in a table holding all ISP's and their IP allocations.

I don't think apache alone can do this. You may confuse geo-location with apache's built in accepted browser language lookup? That doesn't even come close to the accuracy I need.




Oh and I just came across another BS patent. Meanwhile, geo-locating has been patented too, to these folks http://www.digitalenvoy.net

They are currently suing google over this




just install mod_geoip

use it with mod_rewrite

GeoIPEnable On
GeoIPDBFile /home/blah/GeoIP.dat
RewriteEngine on
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^JP$
RewriteRule ^(.*)$ http://www.japan.com [L]

that will route all .jp traffic to japan.com

simple
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2004, 01:00 AM   #9
Nathan
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 3,108
Quote:
Originally posted by http
What do you mean with apache method


I mean redirects based on surfers IP. The IP needs to be looked up in a table holding all ISP's and their IP allocations.

I don't think apache alone can do this. You may confuse geo-location with apache's built in accepted browser language lookup? That doesn't even come close to the accuracy I need.




Oh and I just came across another BS patent. Meanwhile, geo-locating has been patented too, to these folks http://www.digitalenvoy.net

They are currently suing google over this



Like everyone else said, use mod_geoip and then use php or any other way you can get environment or apache notes with to figure out the coutnry and do a redirect. mod_geoip is fast, very. IT would be faster if it could effectively do everything cached in memory, but even the on-disk way is lightning fast.

Also, the people at digitalenvoy.net must be not so bright sadly. Its kinda stupid to sue google over a patent that google is not using directly. even IF digitalenvoy would have a patent on it, they need to sue akamai and not google, because google simply uses akamai to figure out the country.
__________________
"Think about it a little more and you'll agree with me, because you're smart and I'm right."
- Charlie Munger
Nathan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.