<?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: Looking at Redis</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/</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: uday</title>
		<link>http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/comment-page-1/#comment-832702</link>
		<dc:creator>uday</dc:creator>
		<pubDate>Thu, 20 Oct 2011 11:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1063#comment-832702</guid>
		<description>Hi sir,

i am new to the Grails and Redis .

i have to build a project by using above technologies.

i feel comfort with Grails but i coming to Redis i know basic command now to run it thats it i dont know more than that.

can u help me out .

give me the basic stuff which need to practice and i am using STS tool.give me the sample project which build on both Grails and Redis .

and pls explain me how to configure Redis in config.groovy.

i am waiting for ur help and suggestions .

if possible please mail me to ” sivakotiuday@gmail.com” .

thank you.

Your Uday.</description>
		<content:encoded><![CDATA[<p>Hi sir,</p>
<p>i am new to the Grails and Redis .</p>
<p>i have to build a project by using above technologies.</p>
<p>i feel comfort with Grails but i coming to Redis i know basic command now to run it thats it i dont know more than that.</p>
<p>can u help me out .</p>
<p>give me the basic stuff which need to practice and i am using STS tool.give me the sample project which build on both Grails and Redis .</p>
<p>and pls explain me how to configure Redis in config.groovy.</p>
<p>i am waiting for ur help and suggestions .</p>
<p>if possible please mail me to ” <a href="mailto:sivakotiuday@gmail.com">sivakotiuday@gmail.com</a>” .</p>
<p>thank you.</p>
<p>Your Uday.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/comment-page-1/#comment-681743</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 21 Nov 2009 22:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1063#comment-681743</guid>
		<description>Daniel,

Absolutely - this is always the balance to deal with - larger objects vs more objects :)</description>
		<content:encoded><![CDATA[<p>Daniel,</p>
<p>Absolutely &#8211; this is always the balance to deal with &#8211; larger objects vs more objects <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: antirez</title>
		<link>http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/comment-page-1/#comment-681450</link>
		<dc:creator>antirez</dc:creator>
		<pubDate>Sat, 21 Nov 2009 14:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1063#comment-681450</guid>
		<description>Hello,

just in order to add some context.

Redis 1.1 ( currently in beta, download it from Git) supports MSET (multi-set) and MGET (already in 1.0). So it&#039;s possible to set multiple fields in a single operation.
Redis 1.2 will support an Hash type.
Redis 1.1 supports append-only journal for better durability, with three different fsync() policies (never, every second, after every write).

Redis 1.1 is 10x faster with operations like LRANGE or SMEMBERS or MGET involving more data than 1 Kbyte. This is very important in your scenario if your objects are &gt; 1k.

For any info please drop a message into the Redis Google Group and we&#039;ll try to help.

Cheers,
Salvatore (author of Redis)</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>just in order to add some context.</p>
<p>Redis 1.1 ( currently in beta, download it from Git) supports MSET (multi-set) and MGET (already in 1.0). So it&#8217;s possible to set multiple fields in a single operation.<br />
Redis 1.2 will support an Hash type.<br />
Redis 1.1 supports append-only journal for better durability, with three different fsync() policies (never, every second, after every write).</p>
<p>Redis 1.1 is 10x faster with operations like LRANGE or SMEMBERS or MGET involving more data than 1 Kbyte. This is very important in your scenario if your objects are &gt; 1k.</p>
<p>For any info please drop a message into the Redis Google Group and we&#8217;ll try to help.</p>
<p>Cheers,<br />
Salvatore (author of Redis)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dainel, Wu</title>
		<link>http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/comment-page-1/#comment-681448</link>
		<dc:creator>Dainel, Wu</dc:creator>
		<pubDate>Sat, 21 Nov 2009 14:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1063#comment-681448</guid>
		<description>Thanks for your reply, Peter,

In our mysql table, there are about 20 columns, row size could go up to 2,000. Even if Redis could support 100,000 update/second, the network bandwidth is a problem as 100,000 * 2,000=200M per second if using serialized documents as you said.</description>
		<content:encoded><![CDATA[<p>Thanks for your reply, Peter,</p>
<p>In our mysql table, there are about 20 columns, row size could go up to 2,000. Even if Redis could support 100,000 update/second, the network bandwidth is a problem as 100,000 * 2,000=200M per second if using serialized documents as you said.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dainel, Wu</title>
		<link>http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/comment-page-1/#comment-681447</link>
		<dc:creator>Dainel, Wu</dc:creator>
		<pubDate>Sat, 21 Nov 2009 14:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1063#comment-681447</guid>
		<description>Thanks Peter,

Your test shows redis could show 300,000 update/second, if using serialzied documents, then the entire row will be replaced, if the row size is 1,000 (in our case, the row size could go up to 8,000, the row has about 50 columns), then every second 300,000 * 1,000=300M data will be transferred over network, the network card is hard to support that. So if I could operate one one column, that will save lots of network bandwidth</description>
		<content:encoded><![CDATA[<p>Thanks Peter,</p>
<p>Your test shows redis could show 300,000 update/second, if using serialzied documents, then the entire row will be replaced, if the row size is 1,000 (in our case, the row size could go up to 8,000, the row has about 50 columns), then every second 300,000 * 1,000=300M data will be transferred over network, the network card is hard to support that. So if I could operate one one column, that will save lots of network bandwidth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/comment-page-1/#comment-681069</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 21 Nov 2009 03:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1063#comment-681069</guid>
		<description>Daniel,

There are multiple choices. The most common is to store serialized documents in Redis - if you change one of the columns well you basically change the whole document.   This works well if your update is basically replace if it is something like increment you may want to store column as a separate value.</description>
		<content:encoded><![CDATA[<p>Daniel,</p>
<p>There are multiple choices. The most common is to store serialized documents in Redis &#8211; if you change one of the columns well you basically change the whole document.   This works well if your update is basically replace if it is something like increment you may want to store column as a separate value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dainel, Wu</title>
		<link>http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/comment-page-1/#comment-681068</link>
		<dc:creator>Dainel, Wu</dc:creator>
		<pubDate>Sat, 21 Nov 2009 03:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1063#comment-681068</guid>
		<description>Hi Peter,

1: I am looking at redis and see whether there is a chance to use it to replace mysql memory engine. As there are some insert, the table lock blocks the throughput, but one insert could touch/set many columns, say 10 columns, so if insert runs 1000/second in mysql, then for redis, that&#039;s 1000*10=10,000 set/second as redis can&#039;t set many columns (not sure whether I am right, but I looks through the doc and can&#039;t find a way to do so) as one command as mysql.  For query many columns such as 10 columns, redis could return a list, so one query could be mapped to one get. So does that mean if an app has lots of insert/update which touch many columns, then redis is not a good choice?</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>1: I am looking at redis and see whether there is a chance to use it to replace mysql memory engine. As there are some insert, the table lock blocks the throughput, but one insert could touch/set many columns, say 10 columns, so if insert runs 1000/second in mysql, then for redis, that&#8217;s 1000*10=10,000 set/second as redis can&#8217;t set many columns (not sure whether I am right, but I looks through the doc and can&#8217;t find a way to do so) as one command as mysql.  For query many columns such as 10 columns, redis could return a list, so one query could be mapped to one get. So does that mean if an app has lots of insert/update which touch many columns, then redis is not a good choice?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/comment-page-1/#comment-651584</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Fri, 11 Sep 2009 05:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1063#comment-651584</guid>
		<description>Peter,

I understand that the single-threadedness of the slave will slow down the slave, even cause it to lag behind the master. But that shouldn&#039;t have any effect on the master, right? So what caused the master&#039;s performance to drop from 30k updates/sec to 10k updates/sec when replication was turned on in your test?

Andy</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>I understand that the single-threadedness of the slave will slow down the slave, even cause it to lag behind the master. But that shouldn&#8217;t have any effect on the master, right? So what caused the master&#8217;s performance to drop from 30k updates/sec to 10k updates/sec when replication was turned on in your test?</p>
<p>Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/comment-page-1/#comment-651521</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 10 Sep 2009 23:02:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1063#comment-651521</guid>
		<description>Andy,

The overhead of replication is really rather small. The problem is replication is single thread so slave capacity is pretty much limited to performance when all queries are ran by single thread.</description>
		<content:encoded><![CDATA[<p>Andy,</p>
<p>The overhead of replication is really rather small. The problem is replication is single thread so slave capacity is pretty much limited to performance when all queries are ran by single thread.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/comment-page-1/#comment-646645</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Fri, 04 Sep 2009 07:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1063#comment-646645</guid>
		<description>Peter,

The one thing that strikes me is the performance penalty of MySQL replication. In your test replication reduces MySQL performance by 67% (from 30K to 10K updates/sec).

67% is a very large performance degradation, is it typical for replication to have such big slowdown? What about replication that causes such a huge performance drop? Is it the binlog? innodb_support_xa?

What if I have a MySQL server without replication, but still have binlog &amp; innodb_support_xa enabled for data recovery purpose? What kind of performance penalty would that incur? Hopefully a lot less than 67%?

Andy</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>The one thing that strikes me is the performance penalty of MySQL replication. In your test replication reduces MySQL performance by 67% (from 30K to 10K updates/sec).</p>
<p>67% is a very large performance degradation, is it typical for replication to have such big slowdown? What about replication that causes such a huge performance drop? Is it the binlog? innodb_support_xa?</p>
<p>What if I have a MySQL server without replication, but still have binlog &amp; innodb_support_xa enabled for data recovery purpose? What kind of performance penalty would that incur? Hopefully a lot less than 67%?</p>
<p>Andy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

