使用 Memcached

最近用了下 memcached,把 per-4.com 的缓存换了下。

memcached 使用起来比较简单,安装后输入:

# ./memcached -d -m 2048 -l 10.0.0.40 -p 11211

就可以启用 2GB 的缓存了。

用 telnet 127.0.0.1 11211 可以查询 memcached 的运行状态,输入 stats 命令即可。

2 comments so far

  1. Fibrizo December 26, 2007 1:28 pm

    你做个有意义的事吧
    现在memcached的python接口非常不好用
    不支持udp而且还有内存泄露
    正好你可以写一个个新的接口~

  2. admin December 26, 2007 7:27 pm

    有意思,考虑考虑。

Leave a comment

Please be polite and on topic. Your e-mail will never be published.