Memcached is an in-memory, distributed key-value store for random pieces of application data. It is useful for clustering and distributed caching and it (and similar tools) are becoming an increasingly common feature of large Web-based apps.
I don't like Windows any more than the next guy when it comes to using it as a Server OS, but sometimes you've got no choice - maybe you work in an environment where Windows Server is the only option. sigh
Memcached is not something that you would generally install on Windows, (not for production anyhow), but it is possible to have it running happily as a native Windows service.
Here's how -
instsrv Memcached "C:\Program Files\Windows Resource Kits\Tools\SRVANY.EXE"
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Memcached\Parameters] "Application"="c:\\memcached\\memcached.exe" "AppParameters"="-m 1024"Adjust the path as necessary. You can add (or remove) memcached command line options with the "AppParameters" option. The "-m 1024" creates 1024MB (1 GB) memcache. You can get a list of other options with "memcached -h" or on memcached.org
Also, there is an alternative option - you can use the Java based clone of memcached, (the intuitively/unimaginatively) named jmemcached.
This can be used in conjunction with Java Service Wrapper to create Java-based Windows service which operates like the native memcached.
Richard Nichols is an Australian software engineer with a passion for good design and simple solutions.
You could follow him on twitter or subscribe by RSS or email.