ちょっと気になってので調べた。 http://d.hatena.ne.jp/higepon/20090723/1248332621 #!/usr/bin/perl use Cache::Memcached::Fast; use Data::Dumper; if (my $pid = fork()) { MyMemcached->run(port => 11212); } else { sleep 1; } my $cache = Cache::Mem... 続きを読む
Redis is a key-value database. It is similar to memcached but the dataset is not volatile, and keys can be strings, exactly like in memcached, but also lists and sets with atomic operations to push/pop elements. In order to be very fast but a... 続きを読む
I’m playing a little behind but I’d like to spread the word that memcached-1.4.0 has been released. http://code.google.com/p/memcached/downloads/list http://code.google.com/p/memcached/wiki/ReleaseNotes140 You can also find blog posts by va... 続きを読む
A while back, I discussed the caching used on DailyKos with a hacked up mod_magnet and a lua script to serve up pages for anonymous users out of memcached, so it would avoid hitting the much larger mod_perl apaches on the backend running Scoo... 続きを読む
a modern memcached proxy with energy and pep moxi is a memcached proxy with several features which can help keep the memcached contract whole in complicated environments. It also brings several optimizations to memcached deployments, without ... 続きを読む
mod_libmemcached_cacheでApacheのcacheをmemcachedに保存する Apacheのmod_cacheのキャッシュ保存先にmemcachedが使えればいいのにと長年思ってきましたが、mod_libmemcached_cacheがそれを実現してくれました。 しかも、libmemcachedを利用しているので、性能... 続きを読む
This repository is private. All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are added as a member. Every repository with this icon () is private. This repository is pu... 続きを読む
0.13→0.14へのバージョンアップでハッシュアルゴリズムが改善された。 http://cpansearch.perl.org/src/KROKI/Cache-Memcached-Fast-0.14/Changes 改善はともかく分散方法変わったら困るだろ、と思ってたら、実際に分散が偏りすぎだった。 total_items 661068 ... 続きを読む
ketamaの分散を改善するために、全バージョンとアルゴリズムの互換性がなくなったことで有名なCache::Memcache::Fast 0.14ですが以前のアルゴリズムへも対応できるようにpatchつくってみました。 使い方 my $memcached = Cache::Memcached::Fast->new({ servers... 続きを読む
書いた。 http://gist.github.com/110981 この問題に対する対策 http://subtech.g.hatena.ne.jp/mala/20090216/1234790580 サーバー追加とかモジュールのアップデートでハッシュ規則が変わる→割り当てられるサーバーが代わる キャッシュを持っているサーバーに... 続きを読む
We were looking around for a tool that could provide more in-depth stats on what is being stored on memcached servers. We ended up developing our own tool, which provides information such as: What is being stored on your memcached servers Pla... 続きを読む
Memcached is the de-facto distributed caching server used to scale many web2.0 sites today. With the requirement to support a very large number of users as sites grow, memcached aids scalability by effectively cutting down on MySQL traffic an... 続きを読む
Hi! The reallocation size in grow_stats_buf() in memcached.c is incorrect, thus causes a segmentation fault when we encounter a large stats output (e.g. when the daemon has over 40 slab classes). We only reallocate the number of bytes that wi... 続きを読む
This repository is private. All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are added as a member. Every repository with this icon () is private. This repository is pu... 続きを読む
original post ... and this is my usual plea to those mysql/web/industrial folks to try out the latest code. Help us on our quest to scale the crap out of all of your stuff. :) Find us on the mailing list, on #memcached on freenode, or on twit... 続きを読む
_ Key/Value Store 勉強会で話してきました [kvs][kai] 2/20 に行われた Key/Value Store 勉強会 で Kai や Erlang について話 してきました.正式サイトはなさそうなので,はてブにリンクしておきま す. タグ「kvs」を含む新着エントリー - はてなブックマー... 続きを読む
This repository is private. All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are added as a member. Every repository with this icon () is private. This repository is pu... 続きを読む
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet. 続きを読む
memcachedサーバへのアクセスモジュールは数ありますが、一般的にはlibmemcachedが使われる事が多いと思います。 Perlにおいても Cache::Memcached Cache::Memcached::Fast Cache::Memcached::libmemcached Memcached::libmemcached と数種類存在し、一般的に使... 続きを読む
アプリケーション側ではlocalhost:11211で一台に見えていて、裏側で複数台のmemcachedにproxyをして、分散アルゴリズムやノードの管理(サーバーの動的な追加/削除、fail over)を行ってくれるようなのがあると便利ではないか。 分散アルゴリズムが特定のライブラ... 続きを読む