<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Setting_up_a_Second_Instance_of_Redis</id>
		<title>Setting up a Second Instance of Redis - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Setting_up_a_Second_Instance_of_Redis"/>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Setting_up_a_Second_Instance_of_Redis&amp;action=history"/>
		<updated>2026-06-04T11:44:43Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://briansnelson.com/index.php?title=Setting_up_a_Second_Instance_of_Redis&amp;diff=325&amp;oldid=prev</id>
		<title>Brian at 17:53, 24 December 2013</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Setting_up_a_Second_Instance_of_Redis&amp;diff=325&amp;oldid=prev"/>
				<updated>2013-12-24T17:53:35Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:53, 24 December 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Add a second instance of Redis==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Add a second instance of Redis==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[File:Img-redis.jpg|frameless|right|Install Redis ]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Redis is single-threaded so it’s performance peaks when it uses one full CPU core. On a multi-core machine (every machine these days) your peak performance with Redis will be higher if you can use multiple cores. Also, there will be no waiting between different processes. E.g. while one process may be fetching the config, another would be waiting to load a session and another would be waiting to load a FPC record. By having each on a separate core you have much higher peak performance and less contention. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Redis is single-threaded so it’s performance peaks when it uses one full CPU core. On a multi-core machine (every machine these days) your peak performance with Redis will be higher if you can use multiple cores. Also, there will be no waiting between different processes. E.g. while one process may be fetching the config, another would be waiting to load a session and another would be waiting to load a FPC record. By having each on a separate core you have much higher peak performance and less contention. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key briansne_wiki-wiki_:diff:version:1.11a:oldid:323:newid:325 --&gt;
&lt;/table&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	<entry>
		<id>https://briansnelson.com/index.php?title=Setting_up_a_Second_Instance_of_Redis&amp;diff=323&amp;oldid=prev</id>
		<title>Brian: Created page with &quot;==Add a second instance of Redis==  Redis is single-threaded so it’s performance peaks when it uses one full CPU core. On a multi-core machine (every machine these days) you...&quot;</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Setting_up_a_Second_Instance_of_Redis&amp;diff=323&amp;oldid=prev"/>
				<updated>2013-12-24T17:32:06Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Add a second instance of Redis==  Redis is single-threaded so it’s performance peaks when it uses one full CPU core. On a multi-core machine (every machine these days) you...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Add a second instance of Redis==&lt;br /&gt;
&lt;br /&gt;
Redis is single-threaded so it’s performance peaks when it uses one full CPU core. On a multi-core machine (every machine these days) your peak performance with Redis will be higher if you can use multiple cores. Also, there will be no waiting between different processes. E.g. while one process may be fetching the config, another would be waiting to load a session and another would be waiting to load a FPC record. By having each on a separate core you have much higher peak performance and less contention. &lt;br /&gt;
&lt;br /&gt;
 cp /etc/redis.conf /etc/redis2.conf &amp;amp;&amp;amp; cp /etc/init.d/redis /etc/init.d/redis2&lt;br /&gt;
&lt;br /&gt;
'''Change''' &lt;br /&gt;
 vim /etc/init.d/redis2&lt;br /&gt;
 pidfile=&amp;quot;/var/run/redis/redis.pid&amp;quot; to pidfile=&amp;quot;/var/run/redis/redis2.pid&amp;quot;&lt;br /&gt;
 REDIS_CONFIG=&amp;quot;/etc/redis.conf&amp;quot; to REDIS_CONFIG=&amp;quot;/etc/redis2.conf&amp;quot;&lt;br /&gt;
&lt;br /&gt;
'''Change'''&lt;br /&gt;
 vim /etc/redis2.conf&lt;br /&gt;
 port 6379 to port 6380&lt;br /&gt;
 unixsocket /tmp/redis.sock to unixsocket /tmp/redis2.sock&lt;br /&gt;
&lt;br /&gt;
 service redis2 start&lt;br /&gt;
&lt;br /&gt;
'''Let also make this instance start up on boot'''&lt;br /&gt;
&lt;br /&gt;
 chkconfig redis2 on&lt;br /&gt;
&lt;br /&gt;
'''Now verify its set to start at boot'''&lt;br /&gt;
&lt;br /&gt;
 chkconfig --list redis2&lt;br /&gt;
&lt;br /&gt;
 redis2          0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;/div&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	</feed>