Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Amazon AWS Multi Datagcenter Master Replication.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Bell  
View profile  
 More options Feb 3, 6:44 am
From: David Bell <david.b...@whizzeducation.com>
Date: Fri, 3 Feb 2012 03:44:44 -0800 (PST)
Local: Fri, Feb 3 2012 6:44 am
Subject: Amazon AWS Multi Datagcenter Master Replication.
Hi there.

I am currently trying to work my way our of a single point of failure
situation with the MySQL database structure that I manage.

Currently I have a single Master Server with 2 Slave Servers in read-
only mode. Round-Robin DNS shares the load between these.

Due to a desire to increase availability, I am looking to replicate
this setup in a second AmazonAWS datacenter and can see a case for
using 3 nodes at some point in the future.

Galera seems to offer a solution to my problem.

Is it possible to build a Master Replication cluster (the Master in
each datacenter) (so 2 or 3 masters) and then have each Master have 2
or more read-only Slaves doing "traditional" MySQL replication.

The purpose for wanting to do this is to reduce the amount of inter-
datacenter traffic.

Thanks

David


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Henrik Ingo  
View profile  
 More options Feb 3, 7:30 am
From: Henrik Ingo <henrik.i...@avoinelama.fi>
Date: Fri, 3 Feb 2012 14:30:59 +0200
Local: Fri, Feb 3 2012 7:30 am
Subject: Re: [codership-team] Amazon AWS Multi Datagcenter Master Replication.
It is possible. From each Galera node you could fan out a number of
MySQL replication slaves.

However, now if your one galera node goes down, then that whole data
center is disconnected. What is worse: if a node is disconnected long
enough that it cannot do incremental state snapshot, then it will need
to take a full copy of another galera node. Your replication slaves
are now useless, you need to re-provision them too from the same
backup.

If you don't plan to have dozens of read-only nodes, I would strongly
consider using just galera clustering for all nodes. The simplicity is
worth the cost of more traffic.

henrik

On Fri, Feb 3, 2012 at 1:44 PM, David Bell

--
henrik.i...@avoinelama.fi
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc

My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Yurchenko  
View profile  
 More options Feb 3, 8:42 am
From: Alex Yurchenko <alexey.yurche...@codership.com>
Date: Fri, 03 Feb 2012 16:42:49 +0300
Local: Fri, Feb 3 2012 8:42 am
Subject: Re: [codership-team] Amazon AWS Multi Datagcenter Master Replication.
Hi,

Henrik is right. Unfortunately your suspicions are correct too: if you
have 3 Galera nodes at each datacenter, the traffic between datacenters
is tripled. One day this will be fixed, but no ETA.

However replication traffic is normally way smaller than the client
one, so there is a good chance it does not add much to out-of-datacenter
traffic you already have.

Regards,
Alex

On 2012-02-03 14:44, David Bell wrote:

--
Alexey Yurchenko,
Codership Oy, www.codership.com
Skype: alexey.yurchenko, Phone: +358-400-516-011

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
SyRenity  
View profile  
 More options Feb 3, 12:30 pm
From: SyRenity <stas.os...@gmail.com>
Date: Fri, 3 Feb 2012 09:30:45 -0800 (PST)
Local: Fri, Feb 3 2012 12:30 pm
Subject: Re: [codership-team] Amazon AWS Multi Datagcenter Master Replication.

Hi.

Can you elaborate on this one?

I mean, as far as I understand how Galera works, the data should flow from
node to node only once, i.e. as I add additional node, the amount of time
the data is replicated increase by one.

This means in 3 data-centers scenario, the data will flow from one node to
another, i.e. 2 times rather then 3.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Yurchenko  
View profile  
 More options Feb 3, 1:01 pm
From: Alex Yurchenko <alexey.yurche...@codership.com>
Date: Fri, 03 Feb 2012 21:01:19 +0300
Local: Fri, Feb 3 2012 1:01 pm
Subject: Re: [codership-team] Amazon AWS Multi Datagcenter Master Replication.
On 2012-02-03 20:30, SyRenity wrote:

> Hi.

> Can you elaborate on this one?

> I mean, as far as I understand how Galera works, the data should flow
> from
> node to node only once, i.e. as I add additional node, the amount of
> time
> the data is replicated increase by one.

I guess you have a typo there: "amount of data", not "amount of time".

> This means in 3 data-centers scenario, the data will flow from one
> node to
> another, i.e. 2 times rather then 3.

> Thanks.

You're right in your assumptions. However, I understood it so that the
idea is to have 2 datacenters, 3 nodes each. This way external traffic
triples.

Regards,
Alex


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »