<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: State of the art: Galera &#8211; synchronous replication for InnoDB</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/</link>
	<description>Percona&#039;s MySQL &#38; InnoDB performance and scalability blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:45:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Sohail</title>
		<link>http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/comment-page-1/#comment-829405</link>
		<dc:creator>Sohail</dc:creator>
		<pubDate>Fri, 07 Oct 2011 06:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1556#comment-829405</guid>
		<description>Hi
Can u plz share a How To on percona server master-master DB replication.

Regards</description>
		<content:encoded><![CDATA[<p>Hi<br />
Can u plz share a How To on percona server master-master DB replication.</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: of cource</title>
		<link>http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/comment-page-1/#comment-702729</link>
		<dc:creator>of cource</dc:creator>
		<pubDate>Mon, 28 Dec 2009 12:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1556#comment-702729</guid>
		<description>Manesh,

The release that we tout for production is 0.7 and it is for MySQL 5.1.39. Itâ€™s been released Dec. 1st and we provide support for it (you can check out the patch and binary demos at no-url). 0.7.1 is coming out soon and will be for MySQL 5.1.41. In general, each MySQL/Galera release targets particular MySQL version (since it is a patch). In future we will continue to follow official MySQL GA releases with our own.

BR</description>
		<content:encoded><![CDATA[<p>Manesh,</p>
<p>The release that we tout for production is 0.7 and it is for MySQL 5.1.39. Itâ€™s been released Dec. 1st and we provide support for it (you can check out the patch and binary demos at no-url). 0.7.1 is coming out soon and will be for MySQL 5.1.41. In general, each MySQL/Galera release targets particular MySQL version (since it is a patch). In future we will continue to follow official MySQL GA releases with our own.</p>
<p>BR</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/comment-page-1/#comment-699814</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Tue, 22 Dec 2009 14:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1556#comment-699814</guid>
		<description>Manesh,

The release that we tout for production is 0.7 and it is for MySQL 5.1.39. It&#039;s been released Dec. 1st and we provide support for it (you can check out the patch and binary demos at https://launchpad.net/codership-mysql). 0.7.1 is coming out soon and will be for MySQL 5.1.41. In general, each MySQL/Galera release targets particular MySQL version (since it is a patch). In future we will continue to follow official MySQL GA releases with our own.

BR</description>
		<content:encoded><![CDATA[<p>Manesh,</p>
<p>The release that we tout for production is 0.7 and it is for MySQL 5.1.39. It&#8217;s been released Dec. 1st and we provide support for it (you can check out the patch and binary demos at <a href="https://launchpad.net/codership-mysql" rel="nofollow">https://launchpad.net/codership-mysql</a>). 0.7.1 is coming out soon and will be for MySQL 5.1.41. In general, each MySQL/Galera release targets particular MySQL version (since it is a patch). In future we will continue to follow official MySQL GA releases with our own.</p>
<p>BR</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh</title>
		<link>http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/comment-page-1/#comment-699664</link>
		<dc:creator>Mahesh</dc:creator>
		<pubDate>Tue, 22 Dec 2009 09:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1556#comment-699664</guid>
		<description>Alex,

Thanks for the reply. Which version (major+minor) of mysql should we use with it and can it be reliably used in a production environment. I was searching for such a solution and your answer will decide whether I can recommend to my client.

Thanks.</description>
		<content:encoded><![CDATA[<p>Alex,</p>
<p>Thanks for the reply. Which version (major+minor) of mysql should we use with it and can it be reliably used in a production environment. I was searching for such a solution and your answer will decide whether I can recommend to my client.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/comment-page-1/#comment-699659</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Tue, 22 Dec 2009 09:19:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1556#comment-699659</guid>
		<description>Mahesh,

No. MySQL must be patched to make use of Galera replication, and the patch exists only for 5.1. There are no principal obstacles to port it to 5.0 (there is nothing special about 5.1 in this regard), however there is significant code divergence between 5.0 and 5.1, so it won&#039;t be trivial.</description>
		<content:encoded><![CDATA[<p>Mahesh,</p>
<p>No. MySQL must be patched to make use of Galera replication, and the patch exists only for 5.1. There are no principal obstacles to port it to 5.0 (there is nothing special about 5.1 in this regard), however there is significant code divergence between 5.0 and 5.1, so it won&#8217;t be trivial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh</title>
		<link>http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/comment-page-1/#comment-699647</link>
		<dc:creator>Mahesh</dc:creator>
		<pubDate>Tue, 22 Dec 2009 08:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1556#comment-699647</guid>
		<description>Hi,

Does Galera work with MySQL 5.0?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Does Galera work with MySQL 5.0?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/comment-page-1/#comment-670464</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 30 Oct 2009 00:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1556#comment-670464</guid>
		<description>Andy,

This is a rather interesting question, but the answer is not so straightforward. Galera cluster performance overhead comes not only from group communication latencies, but from a number of other factors and strongly depends on the load profile, number of CPU cores, IO subsystem and network configuration.

You&#039;re absolutely right suggesting that more nodes mean more overhead, but even with TCP transport adding new node results in disproportionally low additional latency. You may want to check http://www.codership.com/en/content/sysbench-ec2-size-matters which is about the only case where it could be reliably measured. With multicast transport communication latencies should depend on the number of nodes even less.

That said, Galera replication overhead may be significant regardless of the number of nodes. You can see this effect taken to extreme in a very synthetic mysqlslap benchmark here: http://www.codership.com/en/content/benchmarking-write-scalability. Curiously, one way to make for additional communication overhead is to increase the number of concurrent server connections. Rule of thumb is to double the amount of connections per node compared to what gives the best performance on a standalone server.

Much bigger overhead comes from certification conflicts and resulting transaction rollbacks. The conflict rate grows roughly as N^2 and is the major limiting factor for multi-master scalability.

As for comparison with async master-slave - we don&#039;t have any numbers yet. We don&#039;t know of any benchmarks which can be used to benchmark performance of async master-slave cluster as a whole. Comparing just master performance is not so informative as standalone server.


Vadim,

I would not call that a &quot;drawback&quot; - it is a limitation ;). Galera replication is just a tool suitable for some tasks and unsuitable for others. As they say, YMMV.</description>
		<content:encoded><![CDATA[<p>Andy,</p>
<p>This is a rather interesting question, but the answer is not so straightforward. Galera cluster performance overhead comes not only from group communication latencies, but from a number of other factors and strongly depends on the load profile, number of CPU cores, IO subsystem and network configuration.</p>
<p>You&#8217;re absolutely right suggesting that more nodes mean more overhead, but even with TCP transport adding new node results in disproportionally low additional latency. You may want to check <a href="http://www.codership.com/en/content/sysbench-ec2-size-matters" rel="nofollow">http://www.codership.com/en/content/sysbench-ec2-size-matters</a> which is about the only case where it could be reliably measured. With multicast transport communication latencies should depend on the number of nodes even less.</p>
<p>That said, Galera replication overhead may be significant regardless of the number of nodes. You can see this effect taken to extreme in a very synthetic mysqlslap benchmark here: <a href="http://www.codership.com/en/content/benchmarking-write-scalability" rel="nofollow">http://www.codership.com/en/content/benchmarking-write-scalability</a>. Curiously, one way to make for additional communication overhead is to increase the number of concurrent server connections. Rule of thumb is to double the amount of connections per node compared to what gives the best performance on a standalone server.</p>
<p>Much bigger overhead comes from certification conflicts and resulting transaction rollbacks. The conflict rate grows roughly as N^2 and is the major limiting factor for multi-master scalability.</p>
<p>As for comparison with async master-slave &#8211; we don&#8217;t have any numbers yet. We don&#8217;t know of any benchmarks which can be used to benchmark performance of async master-slave cluster as a whole. Comparing just master performance is not so informative as standalone server.</p>
<p>Vadim,</p>
<p>I would not call that a &#8220;drawback&#8221; &#8211; it is a limitation <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Galera replication is just a tool suitable for some tasks and unsuitable for others. As they say, YMMV.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/comment-page-1/#comment-670413</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Thu, 29 Oct 2009 22:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1556#comment-670413</guid>
		<description>Andy,

I did not run benchmarks myself yet, but you can find some results on Codership&#039;s website: http://www.codership.com/en/content/benchmarking-write-scalability . I have no reason to not believe them.

As you see for short transactions the penalty may be significant (compare numbers for 1 node), and it decreases with size of transaction, which is understandable.

For sure it&#039;s drawback of technology, but it&#039;s price for consistent data.</description>
		<content:encoded><![CDATA[<p>Andy,</p>
<p>I did not run benchmarks myself yet, but you can find some results on Codership&#8217;s website: <a href="http://www.codership.com/en/content/benchmarking-write-scalability" rel="nofollow">http://www.codership.com/en/content/benchmarking-write-scalability</a> . I have no reason to not believe them.</p>
<p>As you see for short transactions the penalty may be significant (compare numbers for 1 node), and it decreases with size of transaction, which is understandable.</p>
<p>For sure it&#8217;s drawback of technology, but it&#8217;s price for consistent data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/comment-page-1/#comment-670410</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 29 Oct 2009 21:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1556#comment-670410</guid>
		<description>What kind of performance penalty does synchronous replication incur compared to no replication and asyn replication?

In an N nodes cluster, an update will only commit after it&#039;s been propagated to all N nodes, right? That sounds like it could introduce significant performance drop.</description>
		<content:encoded><![CDATA[<p>What kind of performance penalty does synchronous replication incur compared to no replication and asyn replication?</p>
<p>In an N nodes cluster, an update will only commit after it&#8217;s been propagated to all N nodes, right? That sounds like it could introduce significant performance drop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.mysqlperformanceblog.com/2009/10/27/state-of-the-art-galera-synchronous-replication-for-innodb/comment-page-1/#comment-669917</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 28 Oct 2009 15:35:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1556#comment-669917</guid>
		<description>Hi John,

&quot;Donor&quot; node is not &quot;shut down&quot;, it is just blocked for the duration of state snapshot transfer. This first implementation is using mysqldump which is slow, but at least as reliable as mysqldump itself and &quot;just works&quot;. Later we plan to add state transfer modes which would block donor for much shorter time, but may require some special setup (like LVM). Incremental state transfer is also in the works.

But for now you could just keep a special reserved &quot;donor&quot; node for such purposes, and it does not have to be as powerful as &quot;working&quot; nodes: applying writesets requires much less resources than serving clients.</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>&#8220;Donor&#8221; node is not &#8220;shut down&#8221;, it is just blocked for the duration of state snapshot transfer. This first implementation is using mysqldump which is slow, but at least as reliable as mysqldump itself and &#8220;just works&#8221;. Later we plan to add state transfer modes which would block donor for much shorter time, but may require some special setup (like LVM). Incremental state transfer is also in the works.</p>
<p>But for now you could just keep a special reserved &#8220;donor&#8221; node for such purposes, and it does not have to be as powerful as &#8220;working&#8221; nodes: applying writesets requires much less resources than serving clients.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

