设为首页 收藏本站
查看: 902|回复: 0

[经验分享] memcached client

[复制链接]

尚未签到

发表于 2015-9-1 01:41:51 | 显示全部楼层 |阅读模式
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

  • http://libmemcached.org/ by Brian Aker, Commercial Support available from Data Differential

    • BSD license, it has been in production at websites for years. Aggressively optimised, ability to run async, supports binary protocol, triggers, replica, etc.

  
  libmemcache

  • http://people.freebsd.org/~seanc/libmemcache by Sean Chittenden

    • BSD license. It is no longer under active development (last updated in 2006). You should try libmemcached instead.

  
  apr_memcache

  • http://www.outoforder.cc/projects/libs/apr_memcache by Paul Querna

    • Apache Software License version 2.0 (doesn't appear to be actively maintained since 2005)

  
  memcacheclient

  • http://code.jellycan.com/memcacheclient (cross-platform, but primary focus on Windows (last updated in 2008).
  
  libketama

  • http://www.last.fm/user/RJ/journal/2007/04/10/rz_libketama (the original consistent hashing algorithm from last.fm)
  
PHP
  Comparison of PECL/memcache and PECL/memcached
  PECL/memcached

  • http://pecl.php.net/package/memcached (wraps libmemcached)

    • pear install pecl/memcached
    • Announcement: http://gravitonic.com/2009/01/new-memcached-extension

  
  PECL/memcache

  • http://pecl.php.net/package/memcache
  • php memcached docs
  
  PHP libmemcached

  • http://github.com/kajidai/php-libmemcached/tree/master (wraps 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

  • http://www.whalin.com/memcached

    • A Java API is maintained by Greg Whalin from Meetup.com.

  
  More Java memcached clients

  • http://code.google.com/p/javamemcachedclient
  • http://code.google.com/p/memcache-client-forjava
  • http://code.google.com/p/xmemcached
  
  Integrations

  • http://code.google.com/p/simple-spring-memcached
  • http://code.google.com/p/memcached-session-manager
  
Python
  pylibmc - a libmemcached wrapper

  • http://sendapatch.se/projects/pylibmc/
  
  python-memcached

  • http://www.tummy.com/Community/software/python-memcached/
  
  pooling wrapper class

  • http://jehiah.cz/download/MemcachePool.py.txt for use in multi-threaded applications
  
  Python libmemcached

  • http://code.google.com/p/python-libmemcached (libmemcached wrapper)
  
  Python-Binary-Memcached - binprot pure-python client

  • https://github.com/jaysonsantos/python-binary-memcached
  
  cmemcache (Note: this library is deprecated, old, buggy, you should not use it).

  • http://gijsbert.org/cmemcache/index.html
  
  Django's caching framework works with memcached

  • http://docs.djangoproject.com/en/dev/topics/cache/
  
  Twisted python client

  • http://python.net/crew/mwh/apidocs/twisted.protocols.memcache.html
  
Ruby
  cache_fu Rails plugin works with memcached

  • http://github.com/defunkt/cache_fu/tree/master
  • http://errtheblog.com/posts/57-kickin-ass-w-cachefu
  • http://blog.onmylist.com/articles/2007/06/15/memcached-and-cache_fu
  
  memcache-client

  • http://dev.robotcoop.com/Libraries/memcache-client/index.html (pure Ruby)
  • http://seattlerb.rubyforge.org/memcache-client/
  • http://www.freshports.org/databases/rubygem-memcache-client
  
  Ruby-MemCache

  • http://www.deveiate.org/projects/RMemCache (pure Ruby)
  
  fauna

  • http://blog.evanweaver.com/files/doc/fauna/memcached (compiled, wraps libmemcached)
  
  caffeine

  • http://rubyforge.org/projects/adocca-plugins (compiled, wraps libmemcached, no license)
  
  More info:

  • Memcached basics for rails
  • Rails and memcached while developing your app
  
Perl
  Cache::Memcached

  • http://search.cpan.org/dist/Cache-Memcached
  
  Cache::Memcached::Fast

  • http://search.cpan.org/dist/Cache-Memcached-Fast
  
  Perl libmemcached wrapper

  • http://code.google.com/p/perl-libmemcached (libmemcached wrapper)
  
  Cache::Memcached-compatible perl libmemcached wrapper wrapper (heh)

  • http://search.cpan.org/dist/Cache-Memcached-libmemcached/
  
Windows / .NET
  .Net memcached client

  • https://sourceforge.net/projects/memcacheddotnet
  
  .Net 2.0 memcached client

  • http://www.codeplex.com/EnyimMemcached
  • Client developed in .NET 2.0 keeping performance and extensibility in mind. (Supports consistent hashing.)
  • http://www.codeplex.com/memcachedproviders
  
  BeIT Memcached Client (optimized C# 2.0)

  • http://code.google.com/p/beitmemcached
  
  jehiah

  • http://jehiah.cz/projects/memcached-win32
  
MySQL
  MySQL user data functions for memcached

  • https://launchpad.net/memcached-udfs
  
  MySQL Engine

  • no longer developed
  
PostgreSQL
  pgmemcache

  • http://pgfoundry.org/projects/pgmemcache The pgmemcache project allows you to access memcache servers from Postgresql Stored Procedures and Triggers.
  
Erlang
  erlmc

  • http://github.com/JacobVorreuter/erlmc
  • http://jacobvorreuter.com/erlang-binary-protocol-memcached-client
  
  merle

  • merle, an erlang memcached client
  
  erlangmc

  • http://code.google.com/p/erlangmc
  
  higepon's memcached client

  • http://github.com/higepon/memcached-client
  
  Zhou Li's memcached client

  • http://github.com/echou/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

  • http://d.hatena.ne.jp/gtaka555/20080727/p1
  • http://tategakibunko.blog83.fc2.com/blog-entry-170.html
Io
  http://github.com/iamaleksey/memcached-client-io/tree/master - libmemcached based
CLI
  libmemcached

  • http://libmemcached.org/ by Brian Aker, Commercial Support available from Data Differential

    • BSD licensed, contains a full set of CLI tools.

  
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.

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-106891-1-1.html 上篇帖子: 【转】Memcached也是IO操作,小心误用 下篇帖子: 应对Memcached缓存失效,导致高并发查询DB的四种思路(l转)
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表