Probably not at such a low level, no :-) but, this was more for a proof-of-concept to show my team how it might work. I assume we'll only distribute out if we find we're pushing the limits of RAM or CPU utilization.
Matt ________________________________ From: Adam Allgaier [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 4:14 PM To: Matthew Drayer Subject: Re: Multi-instance on Win2K3? Are there advantages to creating three 128 MB instances, compared to a single 384 MB instance? Adam ----- Original Message ---- From: Matthew Drayer <[EMAIL PROTECTED]> To: Stephen Johnston <[EMAIL PROTECTED]> Cc: memcached@lists.danga.com Sent: Tuesday, July 1, 2008 2:51:41 PM Subject: RE: Multi-instance on Win2K3? Hi Stephen, Thanks very much for the info. I did have to change one small thing (quotes needed around the service name), but overall this worked great. I was able to quickly create three 128MB instances like so: C:\>sc create "Memcached11211" binPath= "C:\Program Files\Memcached\1_2_4\memcached.exe -d runservice -p 11211 -m 128" DisplayName= "Memcached11211" start= auto C:\>sc create "Memcached11212" binPath= "C:\Program Files\Memcached\1_2_4\memcached.exe -d runservice -p 11212 -m 128" DisplayName= "Memcached11212" start= auto C:\>sc create "Memcached11213" binPath= "C:\Program Files\Memcached\1_2_4\memcached.exe -d runservice -p 11213 -m 128" DisplayName= "Memcached11213" start= auto Cheers, Matt ________________________________ From: Stephen Johnston [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 3:24 PM To: Matthew Drayer Cc: memcached@lists.danga.com Subject: Re: Multi-instance on Win2K3? I had asked about some things related to this a few weeks ago and got some good info here on the list: Quote from Tormod: This works, but we have changed to not installing memcached as a service using the "-d install" switch. This gives no flexibility to install other instances or to change paramaters like port or memory without fiddling directly in the Registry after install. Instead we use the built in "sc" tool in Windows to manage services. This is what must be run to install one instance: sc create memcached11211 binPath= "C:\Admin\memcached_runtime\memcached.exe -d runservice -p 11211 -m 2048" start= auto DisplayName= "MemCached 11211" Just repeat for more instances on the same machine by changing the port number in the servicename, the actual port after the "-p" and the DisplayName parameter. Enjoy! Stephen On Tue, Jul 1, 2008 at 3:03 PM, Matthew Drayer <[EMAIL PROTECTED]> wrote: Hi there, Just wondering if someone can point me in the direction of a resource describing how to configure multiple instances of Memcached on a single Windows 2003 server. Thanks! Matt