New Since Last Visit See more news stories We Recommend My Discussions Log in to track your discussions. Forums Subscribe Video Log In Search Technology Lab / Information Technology Gimme the cache! memcached turns 10 years old Little key-val... 続きを読む
memcachedで値をセットするときに以下みたいな感じでセットするわけですが、 このってのが何のためにあるのかいまいちよくわかってなかったわけです。 set <key> <flags> <exptime> <bytes> <data> で、Cache::Redis書いてた時にCache::Memcached::Fastの実装を... 続きを読む
A common practice to offload traffic from MySQL 5.6 is to use a caching layer to store expensive result sets or objects. Some typical use cases include:Complicated query result set (search results, recent users, recent posts, etc)Full page o... 続きを読む
指定したコマンドを定期的に実行してmemcachedプロトコルで結果が取得できるサーバ - App::derivedとも組み合わせて使えるように、memcachedのキャッシュのキーを指定して、その値を監視できるNagiosプラグインを書きました。check_snmpと同様に変化・差分量が... 続きを読む
redis / memcachedをスケールする方法として、アプリケーションで分散アルゴリズムを実装する方法や、ライブラリを使う方法などありますが、 Twitterが作っているtwemproxy(https://github.com/twitter/twemproxy)というものがあります。 これは、redis / memac... 続きを読む
memcachedのキャッシュキーにsha1やmd5のhash値を使うとtcpdumpや解析ツールで覗きにくくなるので、cacheには出来るだけわかりやすい名前をつけて下さい。というハナシ 下のようなコードのように sub cache { state $cache = Cache::Memcached::Fast->new({ nam... 続きを読む
MySQL 5.6の RC 版が出ましたね。魅力的な機能が満載で皆さんwktkしていることと思います。早速、個人的に気になっていた memcached plugin を試してみました。最初に結論から言いますが、現時点 (5.6.7rc) では HandlerSocket の代わりに使えるようなものでは... 続きを読む
HHKB Professional Type-Sが欲しいインフラ兼ソフトウェアエンジニアのbokkoです。 普段はHHKB Proの日本語配列キーボードを愛用しています。英語配列は苦手です。このことを同僚のエンジニアに言うとジト目で見つめられ・・・睨みつけられること請け合いです。... 続きを読む
Displaying realtime memcached traffic on a backend Friday, July 27, 2012 8:14:52 AM tcpflow, webops, pipestat, perl, operations, memcached Sometimes I like to write down posts like this, to remind myself how to do something, sort of a mental ... 続きを読む
Tuesday, July 10, 2012 Caching with Twemcache We built Twemcache because we needed a more robust and manageable version of Memcached, suitable for our large-scale production environment. Today, we are open-sourcing Twemcache under the New BSD... 続きを読む
README.mdtwemproxy (nutcracker) twemproxy (pronounced "two-em-proxy"), aka nutcracker is a fast and lightweight proxy for memcached protocol. It was primarily built to reduce the connection count on the backend caching servers. Build To build... 続きを読む
Memcached 1.4.10 Release NotesDate: 2011-11-9 DownloadDownload Link: http://memcached.googlecode.com/files/memcached-1.4.10.tar.gz OverviewThis release is focused around thread scalability and performance improvements. This release should be ... 続きを読む
まだ試してないけどblog書く。 memcached 1.4.8-rc1がでていますが、touch という新しいコマンドがが追加されています。アスキープロトコル、バイナリプロトコル両方とも使えます。 http://code.google.com/p/memcached/wiki/ReleaseNotes148rc1 touch コマンド... 続きを読む
Memcached 1.4.8-rc1 Release NotesDate: 2011-09-28 DownloadDownload Link: http://memcached.googlecode.com/files/memcached-1.4.8_rc1.tar.gz OverviewFeature and bugfix release. New Touch commands, counters, and a change to connection limit funct... 続きを読む
Amazon ElastiCache is a web service that makes it easy to deploy, operate, and scale an in-memory cache in the cloud. The service improves the performance of web applications by allowing you to retrieve information from a fast, managed, in-me... 続きを読む
http://www.fusionio.com/overviews/fusion-io-and-memcached/ ・・・こっちが原文だったみたい http://community.fusionio.com/media/p/1099.aspx も参考にしています。 Memcached is a high-performance, distributed memory object caching system, generic... 続きを読む
こちらとこちらのエントリーの続き memcached 1.4.6でmixiの障害の原因となったaccept_new_connsがスレッドセーフじゃない件は修正されているはずだったのですが、検証したところ別のスレッド競合による不具合が発生し、Bugは全て解消されてはいませんでした。 ... 続きを読む
こんにちは、たんぽぽGの森本です memcached-1.4.6がリリースされました。 mixi大規模障害の原因となった不具合が解消されているとのことなので検証してみました。 動作確認 過去のバージョンで不具合が発生することと新しいバージョン(1.4.6)で不具合が発生し... 続きを読む
以前、ここに書いていた、memcachedのincrがスレッドセーフではなく、番号がズレることがある件が 1.4.6 で修正されたようなので検証してみた。 memcached-1.4.6のダウンロードは、memcached.org から リリースノート http://code.google.com/p/memcached/wiki/... 続きを読む