hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : Load Balancing 2 VPS
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

Load Balancing 2 VPS

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-04-2012, 06:20 AM
dewaforex dewaforex is offline
WHT Addict
 
Join Date: Jan 2010
Posts: 166

Load Balancing 2 VPS


Hi everybody,

I just tried load balancing wordpress site between 2 VPS, A at US and B at EU.
I use simple DNS round-robin.
File is synchronized using rsync and database using mysql replication.
The master is VPS A, the problem is now how to redirect if user try to post comment at VPS B to VPS A because database master is at VPS A. So, if user post comment at VPS B, the comment will not show up at VPS A.
I'm using nginx, php-fpm and mysql.

I'm new at mysql replication

Reply With Quote


Sponsored Links
  #2  
Old 03-04-2012, 08:04 AM
dewaforex dewaforex is offline
WHT Addict
 
Join Date: Jan 2010
Posts: 166
Just found the article exactly is same with my configuration.
Hope will help anyone with same configuration

Using plugin HyperDB to write the master database.
I will try it and report again

Link for article http://2012.birmingham.wordcamp.org/.../#comment-2717

But, it's seem only for Wordpress site just like me..
Maybe someone will add other way beside for Wordpress latter.

Reply With Quote
  #3  
Old 03-06-2012, 01:38 PM
Cirtex Cirtex is offline
WebHostingTalk Lover
 
Join Date: Mar 2003
Location: New York City
Posts: 7,393
Thanks for sharing! DNS round-robin can definitely work but is not the perfect solution, however definitely a good way to start

__________________
█• CirtexHosting Providing Affordable and Quality Web Hosting & Reseller Hosting since 2003
█• LINUX based cPANEL/WHM Shared and Reseller Web Hosting with Fantastico
█• HostV VPS Premium Virtual Private Servers & Dedicated Servers powered by cPanel/WHM
█• We transfer your sites over quickly! I eat penguins for breakfast ...

Reply With Quote
Sponsored Links
  #4  
Old 03-06-2012, 08:40 PM
dewaforex dewaforex is offline
WHT Addict
 
Join Date: Jan 2010
Posts: 166
yes, DNS round-robin is cheap way for clustering
I use anycast DNS in my case.

Can't find any cheap service for DNS global traffic director except geoscaling.com, but haven't yet test it as still confuse with making the PHP script for this purpose at geoscaling

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
VPS providers with Load Balancing service cygnusd VPS Hosting 9 11-13-2011 01:18 AM
Load balancing over two VPS stefarossi Hosting Security and Technology 5 11-20-2010 07:35 PM
Swiftway load balanced cluster series - Local and Global load balancing. swiftnoc Cloud Hosting Offers 0 05-04-2010 07:19 AM
DNS load balancing between 2 CPanel VPS Yogesh Sarkar Hosting Security and Technology 4 01-13-2010 06:41 PM
LBVM (VPS load balancing) Dougy Hosting Software and Control Panels 2 07-13-2009 08:24 AM

Related posts from TheWhir.com
Title Type Date Posted
GoGrid Launches Dynamic Load Balancer Service Built for Cloud Web Hosting News 2013-01-29 10:07:53
CDNetworks Releases New Versions of Cloud Load Balancer, Cloud Storage Web Hosting News 2012-09-10 15:26:28
Web Host Rackspace Adds New Features to Cloud Load Balancer Web Hosting News 2011-09-16 16:35:04
OnApp Releases New Version of Cloud Management Software Web Hosting News 2011-07-21 18:46:54
Cloud Infrastructure Firm Linode Launches Load Balancer as a Service Web Hosting News 2011-07-15 19:05:12


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?