Windows で Memcached を使う

Memcache の公式サイトには Windows 版のバイナリがないため、ユーザーが作成したバイナリファイルを利用するのが手っ取り早い。
しかし、検索をしてみると情報が古いものばかりで、memcachedd 1.2.6 の情報ばかりだった。現在の最新版は 1.4.14 で探してみると、下記のサイトで最新版が配布されているのを見つけた。

上記のバージョンよりも古くなるが、1.4.x 版を下記のサイトで見つけた。

上記のサイトで配布されているバージョンは、1.4.5 が最新版になるが、次のサイトで(古い)やりかたで memcached をサービスとして登録できないと書かれていた。

rem PC起動時に立ち上がるようにする
memcached.exe -d install
rem memcachedデーモンを起ち上げておく
memcached.exe -d start

サービスとして登録できない件については、

Recently, I was working on memcached with windows machine. Memcached is built for linux platform. It's latest stable version is 1.4.15. But we haven't found the compatible windows binary file for the latest version. I have found binary for memcache 1.4.5, but it was providing errors while installing with the command:
memcache.exe -d install
It hung up on the window. I googled and found that '-d' option is no longer supported.

http://newdailyblog.blogspot.jp/2013/05/installing-memcached-144-on-windows.html

と書かれているように、コマンドのオプションが廃止されたようだ。