memcached client --ref

Clients  
Client API's / libraries
Updated  Jul 14, 2012 by dorma...@rydia.net
ref:https://code.google.com/p/memcached/wiki/Clients

C / C++

libmemcached

 

libmemcache

 

apr_memcache

 

memcacheclient

 

libketama

 

PHP

Comparison of PECL/memcache and PECL/memcached

PECL/memcached

 

PECL/memcache

 

PHP libmemcached

 

Java

spymemcached

  • http://www.couchbase.org/code/couchbase/java
    • An improved Java API maintained by Matt Ingenthron and others at Couchbase.
    • Aggressively optimised, ability to run async, supports binary protocol, support Membase and Couchbase features, etc. See site for details.

 

Java memcached client

 

More Java memcached clients

 

Integrations

 

Python

pylibmc - a libmemcached wrapper

 

python-memcached

 

pooling wrapper class

 

Python libmemcached

 

Python-Binary-Memcached - binprot pure-python client

 

cmemcache (Note: this library is deprecated, old, buggy, you should not use it).

 

Django's caching framework works with memcached

 

Twisted python client

 

Ruby

cache_fu Rails plugin works with memcached

 

memcache-client

 

Ruby-MemCache

 

fauna

 

caffeine

 

More info:

 

Perl

Cache::Memcached

 

Cache::Memcached::Fast

 

Perl libmemcached wrapper

 

Cache::Memcached-compatible perl libmemcached wrapper wrapper (heh)

 

Windows / .NET

.Net memcached client

 

.Net 2.0 memcached client

 

BeIT Memcached Client (optimized C# 2.0)

 

jehiah

 

MySQL

MySQL user data functions for memcached

 

MySQL Engine

  • no longer developed

 

PostgreSQL

pgmemcache

 

Erlang

erlmc

 

merle

 

erlangmc

 

higepon's memcached client

 

Zhou Li's memcached client

 

https://github.com/EchoTeam/mcd

Lua

http://luamemcached.luaforge.net

Lisp dialects

http://common-lisp.net/project/cl-memcached

http://chicken.wiki.br/memcached

http://weblambda.blogspot.com/2009/09/develop-memcached-client-4-bzlibdbd.html

ColdFusion

http://memcached.riaforge.org

OCaml

Io

http://github.com/iamaleksey/memcached-client-io/tree/master - libmemcached based

CLI

libmemcached

 

Protocol

To write a new client, check out the binary protocol docs and ascii protocol docs. Be aware that the most important part of the client is the hashing across multiple servers, based on the key, or an optional caller-provided hashing value. Feel free to join the mailing list for help and/or a link to your client from this site.

Archive / Old

Danga Interactive list of clients http://www.danga.com/memcached/apis.bml

http://dealnews.com/developers/memcached.html - fastest client implementations (2006), obsoleted as more languages wrap the C-based libmemcached client library.


本文转自快乐就好博客园博客,原文链接:http://www.cnblogs.com/happyday56/p/4463036.html,如需转载请自行联系原作者
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Windows下php中Memcache的安装: 1. 下载memcache的windows稳定版,解压放某个盘下面,比如在c:\memcached 2. 在终端(也即cmd命令界面)下输入 ‘c:\memcached\memcached.exe -d install’ 安装 3. 再输入: ‘c:\memcached\memcached.exe -d start’ 启动。NOTE: 以后memcached将作为windows的一个服务每次开机时自动启动。这样服务器端已经安装完毕了。 4.下载php_memcache.dll,请自己查找对应的php版本的文件 5. 在C:\winnt\php.ini 加入一行 ‘extension=php_memcache.dll’ 6.重新启动Apache,然后查看一下phpinfo,如果有memcache,那么就说明安装成功! memcached的基本设置: -p 监听的端口 -l 连接的IP地址, 默认是本机 -d start 启动memcached服务 -d restart 重起memcached服务 -d stop|shutdown 关闭正在运行的memcached服务 -d install 安装memcached服务 -d uninstall 卸载memcached服务 -u 以的身份运行 (仅在以root运行的时候有效) -m 最大内存使用,单位MB。默认64MB -M 内存耗尽时返回错误,而不是删除项 -c 最大同时连接数,默认是1024 -f 块大小增长因子,默认是1.25 -n 最小分配空间,key+value+flags默认是48 -h 显示帮助 Memcache环境测试: 运行下面的php文件,如果有输出This is a test cache!,就表示环境搭建成功。开始领略Memcache的魅力把! <?php $mem = new Memcache(); $mem->addserver("127.0.0.1", 11211); $mem->set("mykey", "This is a test cache!", 0, 60); $val = $mem->get("mykey"); echo $val; ?>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值