There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic. 続きを読む
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... 続きを読む
ちょっと気になってので調べた。 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... 続きを読む
数日前にmemcached-1.4のリリース候補が出ましたので、今日はその最新版と、それを使ったメモリ節約の運用法を紹介します。厳密にいうと、ご紹介させていただくmemcachedのメモリ節約機能は1.3のbetaから存在し、過去にこちらで取り上げました。 memcached-1.4.... 続きを読む
Gearmanのページは更新されていないけど、gearmand 0.7がダウンロードできるようになっていた。0.7 - 2009-05-31 * Added libmodconf for config option processing. Eventually this will be split into a separate library. Updated gearmand and tests to us... 続きを読む
Cache::Memcached::Fast v0.14のアルゴリズム変更について perlのmemcachedクライアントのCache::Memcached::Fastの最新バージョン 0.14 にはちょっとしたラップがあります。 Consistent-Hashing分散アルゴリズムのketamaのアルゴリズムが改善されて、それまで... 続きを読む
This page contains a modified version of memcached (v1.2.5 and v1.2.6) and libevent (v1.4.4) that builds on Windows. Building libevent should work out of the box. Building memcached should also work out of the box, but it requires libevent to... 続きを読む
This gist 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 given this private URL. Every gist with this icon () is private. This gist is public. Anyone ... 続きを読む
MemcachedのクライアントlibmemcachedをWin32に移植した方がいたので、その手順にしたがってビルドしてみます。 Windowsで動くMemcached::libmemcachedの作り方(Big Sky) オリジナルな手順から、以下の部分を変更。 (1) wgetの代わりにブラウザ。それをlhaplus... 続きを読む
ポータビリティとかキャッシュのバックエンド差し替えたりすることを考えると全く正しい。 続きを読む
memcached用のiostatみたいなのを書いた。 statsコマンドを2回発行して増加分を見れば秒間にどれぐらいread/writeがあるのかが分かるのだけれど、手動で数値をコピペしたりしながらやるのが面倒くさかったので自動化した。 最初はmemcached-toolを呼び出すよう... 続きを読む
Memcached Injection N T T コ ミ ュ ニ ケ ー シ ョ ン ズ株式会社 IT マネジメントサービス事業部 セキュリティオペレーションセンタ 2008 年 12 月 19 日 Ver. 1.0 SR-20080310 1. 2. 3. 4. 調査概要 ....................................................... 続きを読む
こんにちは、某Perl界隈のIRCチャンネルでPythonがマイブーム的なKY誤爆をしてしまったtmaesakaです。 先日、以前から興味のあったGoogle App EngineとMemcache APIについて少し調べ、こちらに英文で報告したのですが、今日は日本語で要約したまとめを紹介しま... 続きを読む
memcached某サービスでセッション情報を保持するために利用しているmemcached(repcached)に障害が起こった。ちゃんと追えていないけど、おそらく以下のような原因。他の人がハマらないように。 障害発生まで memcached(repcached)の中には揮発したらそれなりに... 続きを読む
Cache::Memcached::Fastがmemcached clientのライブラリとして重要な理由 architecture | これはConsistent Hashingの実装があるからということに尽きるのではないかと思いいます。 memcachedのサーバーを追加するときには、Capacity Planning上、Capacityが足... 続きを読む
http://mt.endeworks.jp/d-6/2008/09/cachememcachedfast-libmemcache.htmlに環境に合えば、一番単純性能が速いのはlibmemcached。FastのほうがPerl向けにチューニングされたりしてるし、API的には多分一番親切。パフォーマンス的な差は10~20%libmemcachedクラ... 続きを読む
memcachedになにをキャッシュするのか 激遅なレスポンスなんだけど、dormandのmemcached記事。 dormando - Should you cache? この中でキャッシュの使い方でよく見る間違った使い方を指摘している部分があって、ここがとても重要だと思うので書いておく Where w... 続きを読む
The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Futhermore, libevent also support callbacks due to signals or regular timeouts. Libeve... 続きを読む
This is a port of memcached to the win32 architecture by Kronuz The win32 version of memcached can be run both as a NT Service or from the command line. To install memcached as a service, follow the next steps: Unzip the binaries in your desi... 続きを読む
memcachedとは? memcachedとはその名の通り、データをメモリ上に保持するキャッシュサーバで、アクセス数の多いWebサイトにおいてデータベースの負荷を減らすために利用されることが多い。データをディスクに書き出さず、保持するデータもキーと値のみと非常に... 続きを読む