<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>thinking in geek &#187; memcached</title>
	<atom:link href="http://joshrobb.com/blog/category/memcached/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshrobb.com/blog</link>
	<description>tagline's are so web2.0</description>
	<lastBuildDate>Wed, 02 Jun 2010 14:47:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Multiple instances of memcached on win32</title>
		<link>http://joshrobb.com/blog/2007/11/08/multiple-instances-of-memcached-on-win32/</link>
		<comments>http://joshrobb.com/blog/2007/11/08/multiple-instances-of-memcached-on-win32/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 18:04:45 +0000</pubDate>
		<dc:creator>josh</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[web architecture]]></category>

		<guid isPermaLink="false">http://joshrobb.com/blog/2007/11/08/multiple-instances-of-memcached-on-win32/</guid>
		<description><![CDATA[It seems like the win32 crowd is discovering memcached. I&#8217;ve got a couple of support queries about it over the last month or two and I thought I&#8217;d post an interesting one here: &#8220;How can you run multiple instances of memcached on a single machine?&#8221; There&#8217;s a couple of reasons why you&#8217;d want to do [...]]]></description>
			<content:encoded><![CDATA[<p>It seems like the win32 crowd is <a href="http://www.25hoursaday.com/weblog/2007/07/05/ASPNETCachingVsMemcachedSeekingEfficientDataPartitioningLookupAndRetrieval.aspx">discovering</a> <a href="http://jehiah.cz/projects/memcached-win32/">memcached</a>. I&#8217;ve got a couple of support queries about it over the last month or two and I thought I&#8217;d post an interesting one here:</p>
<blockquote><p>&#8220;How can you run multiple instances of memcached on a single machine?&#8221;</p></blockquote>
<p>There&#8217;s a couple of reasons why you&#8217;d want to do this.  The most obvious is that you&#8217;ve got multiple clients being serviced on a single machine and you want to absolutely ensure that data is not leaking from one client to another.</p>
<p>If you want to setup multiple instances the once you&#8217;ve got the win32 port downloaded and unziped somewhere you need to use the following magic incantation:</p>
<blockquote><p>sc create memcached2 binPath= &#8220;c:\memcached\memcached.exe -p 11111 -d runservice&#8221;</p></blockquote>
<p>You can pass any other params you wish (e.g. amount of memory to use). To run multiple instances just install multiple services with different names/ports.</p>
<p>Note: &#8220;sc&#8221; is the command line tool for working with the win32 service control manager. It allows you to stop/start/create/delete and more &#8211; windows services. Check out it&#8217;s command line help by typing &#8220;sc&#8221;<enter> at the command line.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshrobb.com/blog/2007/11/08/multiple-instances-of-memcached-on-win32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
