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 08-09-2013, 02:55 PM   #1
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,040
Admins - How Do I Do This?

If I have a server on DigitalOcean in NY and I want to expand so I have a server on the West Coast and one in Amsterdam - Which I can do on DigOcean BTW - How do I replicate the site and make sure the surfers go to the correct/closest server?...

For example - EddyTheDog.com is on a NY1 server - I want it in all 3 locations and distributed - Also if one fails then of course it goes to the next.....

I am sure all 3 of my regular surfers will cope if I go down for a few hours - Its more of a learning exercise...

I know I can distribute traffic via SRV - But that's not really good enough.....

So replication is the first issue and traffic management is the second - Where should I look for good basic info?..

To all the idiots who are going to say 'GoogleIsYourFreind' - Don't bother - I have some of the best people in the biz here, I may as well make use of them....

Last edited by EddyTheDog; 08-09-2013 at 02:56 PM..
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2013, 02:58 PM   #2
Dankasaur
So Fucking Fossilized
 
Industry Role:
Join Date: Sep 2011
Posts: 1,432
Digital Ocean doesn't currently allow that, to do it, you'd have to have a server take the initial request, figure out the server you have closest to that user, then proxy them to it. Then have your sites mirrored on the other servers.
Dankasaur is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2013, 03:04 PM   #3
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,040
Quote:
Originally Posted by Dankasaur View Post
Digital Ocean doesn't currently allow that, to do it, you'd have to have a server take the initial request, figure out the server you have closest to that user, then proxy them to it. Then have your sites mirrored on the other servers.
If just one server is taking the original request that seems to defeat the object - If it goes down you are still fucked - Also whats a good way of mirroring the servers...

I can only think that I need a third party, like Cloudflare perhaps?....
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2013, 03:11 PM   #4
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,072
Something like this might do it for you http://www.dnsmadeeasy.com/services/...ffic-director/

I know nothing about it, just found it in google.

Eddy. Remember.

Google Is Your Friend !

;p

.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2013, 03:22 PM   #5
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,040
Quote:
Originally Posted by sarettah View Post
Something like this might do it for you http://www.dnsmadeeasy.com/services/...ffic-director/

I know nothing about it, just found it in google.

Eddy. Remember.

Google Is Your Friend !

;p

.
If I didn't know you would enjoy it I would slap you so hard...
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2013, 03:22 PM   #6
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,072
As far as mirroring the server is concerned: I have not done it myself but I would guess that this could be accomplished by running mirroring software on each of the servers in a round robin fashion.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2013, 03:24 PM   #7
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,072
I should have said somewhere in there. I am NOT a server admin. I am just a lowly applications developer.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2013, 03:24 PM   #8
Dankasaur
So Fucking Fossilized
 
Industry Role:
Join Date: Sep 2011
Posts: 1,432
rsync. 8chars.
Dankasaur is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2013, 03:31 PM   #9
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,040
Quote:
Originally Posted by Dankasaur View Post
rsync. 8chars.
That's given me a starting place - Thanks
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2013, 01:00 AM   #10
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
roundrobin / cloudflare ?
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2013, 01:18 AM   #11
Ferus
Bye - Left to do stuff
 
Industry Role:
Join Date: Feb 2013
Posts: 4,108
You can use GeoIP to redirect the customer

How to replicate the site, depends on if its static or DB driven content.

The right thing would be to build a cluster, but that would mean you needed to reinstall both sites. It would also give you a complete failover solution in case one server is down
Ferus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2013, 02:38 AM   #12
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,587
Quote:
Originally Posted by Dankasaur View Post
rsync. 8chars.
replicatyion = done

ioad balancing = round robbin

as location driven, a geo ip solution should do


ps: get an external dns server, such as zoneedit or other.
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2013, 09:42 AM   #13
eroticsexxx
Confirmed User
 
eroticsexxx's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Nassau, Bahamas
Posts: 3,133
:2cents

Geo IP redirection, in addition to a Mirrored Cluster is your best bet.
__________________
eroticsexxx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2013, 10:27 AM   #14
Mr. Stiff
So Fucking Stiff!
 
Mr. Stiff's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 493
Yep, geo-dns and rsync to keep servers in sync..

http://www.dnsmadeeasy.com/services/...ffic-director/
http://www.cyberciti.biz/tips/linux-...rectories.html

If your site is (almost) static, easier to use a CDN (maxcdn, cloudflare, etc)
__________________
ICQ 208807506
Mr. Stiff 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.