Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 4

A pure Lua implementation of a client library for memcached.

0
 
  0 reviews  |  2 users  |  449 lines of code  |  0 current contributors  |  Analyzed 6 days ago
 
 

A multi-purpose Symfony caching plugin: - Provides Symfony 1.1+ cache classes for Symfony 1.0 (with an adapter for view caching). - Also provides a transparent and extensible API to cache objects with the cache classes, for any version of Symfony. - A convenient way to get cache classes depending ... [More] on your environment. - DebugBar/Logging for any cache class, with timing and hit/miss information. [Less]

0
 
  0 reviews  |  1 user  |  1,703 lines of code  |  0 current contributors  |  Analyzed 2 days ago
 
 

LayerCache is a simple caching framework for PHP5 which allows you to easily plug a multi-layer caching mechanism into your application. It implements the concept of layered caching where an item can be cached in several layers. When you request an item, the framework reads from each cache in the ... [More] stack. If the item is present, it's returned, if it isn't, it's retrieved from the source and stored in all caches in the stack. [Less]

5.0
 
  0 reviews  |  1 user  |  1,196 lines of code  |  0 current contributors  |  Analyzed about 1 year ago
 
 

phpCacheAdmin an application for managing and debugging the cache of your site, or Web services. This tool - a simple way to find out how much time is left on the key and watch containing data.

5.0
 
  0 reviews  |  1 user  |  0 current contributors  |  Analyzed 10 days ago
 
 

MemcacheDB now has a new official homepage, please visit: http://memcachedb.org

0
 
  0 reviews  |  1 user  |  13,984 lines of code  |  0 current contributors  |  Analyzed 9 days ago
 
 

Graphic stand-alone administration for memcached to monitor and debug purpose This program allows to see in real-time (top-like) or from the start of the server, stats for get, set, delete, increment, decrement, evictions, reclaimed, cas command, as well as server stats (network, items, server ... [More] version) with googlecharts and server internal configuration You can go further to see each server slabs, occupation, memory wasted and items (key & value). Another part can execute commands to any memcached server : get, set, delete, flush_all, as well as execute any commands (like stats) with telnet To extract these informations, phpMemcacheAdmin uses, as you wish, direct communication with server, PECL Memcache or PECL Memcached API. [Less]

5.0
 
  0 reviews  |  1 user  |  3,158 lines of code  |  1 current contributor  |  Analyzed 3 days ago
 
 

What is dbcached?● dbcached is a distributed key-value memory caching system for QDBM or Berkeley DB base on Memcached and NMDB. ● dbcached = Memcached + Persistent Storage Manager + NMDB Client API ● Memcached is a high-performance, distributed memory object caching system, generic in ... [More] nature, but intended for use in speeding up dynamic web applications by alleviating database load. ● NMDB is a multiprotocol network database(dbm-style) manager, it consists of an in-memory cache that saves (key, value) pairs, and a persistent backend that stores the pairs on disk. It can use QDBM or Berkeley DB as database backends. ● QDBM is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value. Every key and value is serial bytes with variable length. Both binary data and character string can be used as a key and a value. There is neither concept of data tables nor data types. Records are organized in hash table or B+ tree. Is memcached and dbcached the same on functions?● Yes! What Memcached can do, dbcached can do it too, and dbcached can saves key-value data into QDBM or Berkeley DB by NMDB when the Memcached received a set(add/replace/...) query. If the Memcached returns an undefined object when it received a get(incr/decr/...) query, dbcached can get the data from QDBM or Berkeley DB by NMDB, then returns it to the user and put it in the Memcached. dbcached 是什么?● dbcached 是一款基于 Memcached 和 NMDB 的分布式 key-value 数据库内存缓存系统。 ● dbcached = Memcached + 持久化存储管理器 + NMDB 客户端接口 ● Memcached 是一款高性能的,分布式的内存对象缓存系统,用于在动态应用中减少数据库负载,提升访问速度。 ● NMDB 是一款多协议网络数据库(dbm类)管理器,它由内存缓存和磁盘存储两部分构成,使用 QDBM 或 Berkeley DB 作为后端数据库。 ● QDBM 是一个管理数据库的例程库,它参照 GDBM 为了下述三点而被开发:更高的处理速度,更小的数据库文件大小,和更简单的API。QDBM 读写速度比 Berkeley DB 要快,详细速度比较见《Report of Benchmark Test》。 Memcached 和 dbcached 在功能上一样吗?● 兼容:Memcached 能做的,dbcached 都能做。除此之外,dbcached 还将“Memcached、持久化存储管理器、NMDB 客户端接口”在一个程序中结合起来,对任何原有 Memcached 客户端来讲,dbcached 仍旧是个 Memcached 内存对象缓存系统,但是,它的数据可以持久存储到本机或其它服务器上的 QDBM 或 Berkeley DB 数据库中。 ● 性能:前端 dbcached 的并发处理能力跟 Memcached 相同;后端 NMDB 跟 Memcached 一样,采用了libevent 进行网络IO处理,拥有自己的内存缓存机制,性能不相上下。 ● 写入:当“dbcached 的 Memcached 部分”接收到一个 set(add/replace/...) 请求并储存 key-value 数据到内存中后,“dbcached 持久化存储管理器”能够将 key-value 数据通过“NMDB 客户端接口”保存到 QDBM 或 Berkeley DB 数据库中。 ● 速度:如果加上“-z”参数,采用 UDP 协议“只发送不接收”模式将 set(add/replace/...) 命令写入的数据传递给 NMDB 服务器端,对 Memcache 客户端写速度的影响几乎可以忽略不计。在千兆网卡、同一交换机下服务器之间的 UDP 传输丢包率微乎其微。在命中的情况下,读取数据的速度跟普通的 Memcached 无差别,速度一样快。 ● 读取:当“dbcached 的 Memcached 部分”接收到一个 get(incr/decr/...) 请求后,如果“dbcached 的 Memcached 部分”查询自身的内存缓存未命中,则“dbcached 持久化存储管理器”会通过“NMDB 客户端接口”从 QDBM 或 Berkeley DB 数据库中取出数据,返回给用户,然后储存到 Memcached 内存中。如果有用户再次请求这个 key,则会直接从 Memcached 内存中返回 Value 值。 ● 持久:使用 dbcached,不用担心 Memcached 服务器死机、重启而导致数据丢失。 ● 变更:使用 dbcached,即使因为故障转移,添加、减少 Memcached 服务器节点而破坏了“key 信息”与对应“Memcached 服务器”的映射关系也不怕。 ● 分布:dbcached 和 NMDB 既可以安装在同一台服务器上,也可以安装在不同的服务器上,多台 dbcached 服务器可以对应一台 NMDB 服务器。 ● 特长:dbcached 对于“读”大于“写”的应用尤其适用。 ● 其他:《dbcached 的故障转移支持、设计方向以及与 Memcachedb 的不同之处》 1. dbcachedInstallation (安装)wget http://www.monkey.org/~provos/libevent-1.3e.tar.gz tar zxvf libevent-1.3e.tar.gz cd libevent-1.3e/ ./configure --prefix=/usr make && make install cd ../ wget http://dbcached.googlecode.com/files/dbcached-1.0.beta2.tar.gz tar zxvf dbcached-1.0.beta2.tar.gz cd dbcached-1.0.beta2/ ./configure --prefix=/usr/local/dbcached --with-libevent=/usr make && make install cd ../Run as a daemon (作为守护进程运行)/usr/local/dbcached/bin/memcached -d -m 256 -p 11211 -c 51200 -u nobody -x 192.168.0.2 -y 26010 -z 26010● -x {ip_addr} hostname or IP address of nmdb server ● -y {num} TCP port number of nmdb server (default: 26010) for set & get command ● -z {num} UDP port number of nmdb server (default: 26010) only for set command, UDP will be used to replace TCP for set command when using parameter -z ● -x {IP地址} nmdb 服务器的域名或者IP地址,推荐使用IP地址 ● -y {端口号} nmdb 服务器的TCP端口号 (默认: 26010) 支持 set/delete/... 等写命令 和 get 等读命令 ● -z {端口号} nmdb 服务器的UDP端口号 (默认: 26010) 只支持 get 等都命令, 当使用 -z 参数时,将使用 UDP 协议代替 TCP 协议执行 set 操作,执行 get 操作时仍然使用 TCP 协议。强烈推荐加上 -z 参数。 ● 其他参数跟 memcached 1.2.4 完全一样,就不再详细说明。 ● 如果想让 dbcached 通过 NMDB 保存数据时采用 TCP 协议,去掉 -z 参数即可,例如:(除非因防火墙、NAT穿透等问题导致 UDP 协议不可用,否则不建议使用 TCP 协议) /usr/local/dbcached/bin/memcached -d -m 256 -p 11211 -c 51200 -u nobody -x 192.168.0.2 -y 26010● 如果想让 dbcached 作为普通的 Memcached 运行,去掉 -x、-y、-z 参数即可,例如: /usr/local/dbcached/bin/memcached -d -m 256 -p 11211 -c 51200 -u nobody2. QDBM & NMDBQDBM Installation (安装)wget http://qdbm.sourceforge.net/qdbm-1.8.77.tar.gz tar zxvf qdbm-1.8.77.tar.gz cd qdbm-1.8.77/ ./configure --prefix=/usr make make install cd ../NMDB Installation (安装)wget http://www.monkey.org/~provos/libevent-1.3e.tar.gz tar zxvf libevent-1.3e.tar.gz cd libevent-1.3e/ ./configure --prefix=/usr make && make install cd ../ wget http://auriga.wearlab.de/~alb/nmdb/files/0.21/nmdb-0.21.tar.gz tar zxvf nmdb-0.21.tar.gz cd nmdb-0.21/ make BACKEND=qdbm ENABLE_TIPC=0 ENABLE_SCTP=0 install cd ../Run as a daemon (作为守护进程运行)/usr/local/bin/nmdb -d /var/dbcached.db -t 26010 -T 192.168.0.2 -u 26010 -U 192.168.0.2 -c 1024● -d {dbpath} database path ('database', must be created with dpmgr) ● -t {port} TCP listening port (26010) ● -T {addr} TCP listening address (all local addresses) ● -u {port} UDP listening port (26010) ● -U {addr} UDP listening address (all local addresses) ● -c {nobj} max. number of objects to be cached, in thousands (128) ● -d {dbpath} 数据库路径(这里使用比 Berkeley DB 更快的 QDBM 数据库),例如 /var/dbcached.db ● -t {port} TCP 监听端口 (默认:26010) ● -T {addr} TCP 监听地址 (默认:任何地址) ● -u {port} UDP 监听端口 (默认:26010) ● -U {addr} UDP 监听地址 (默认:任何地址) ● -c {nobj} 最大的缓存对象数目,单位为千 (默认:128) [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 5 days ago
 
 

当前最新版本为2.5.2。svn代码已经上传,有需要的同学可以直接下载使用maven来构建项目。 该项目是Memcache Java 客户端的实现 使用前先请下载帮助文档:在downloads中Memcached Client HandBook(特别注意对于第三方开源库版本依赖) ... [More] 具体的代码,文档,测试内容都在Downloads 中可以获得 《MemCached Cache Java 客户端优化历程.doc》将描述详细的封装和优化过程 有任何问题可以联系wenchu.cenwc@alibaba-inc.com Memcache Client for Java Wrap and Optimize whalin memcache client. Optimize SocketIOPool Operation. add keyset function and cluster support and localcache + memcache support if you have any question,you can contact with me :). Email:wenchu.cenwc@alibaba-inc.com [Less]

0
 
  0 reviews  |  0 users  |  6,956 lines of code  |  0 current contributors  |  Analyzed 5 days ago
 
 

What is it?A memcached provider for the DotNetNuke content management system and development framework. Creditsdotnetnuke-memcached uses the BeIT memcached client (http://code.google.com/p/beitmemcached/) to manage memcached connections and serialization/deserialization of .NET objects. I have ... [More] slightly modified the BeIT memcached code to allow seralization of POCO objects. Limitationsdotnetnuke-memcached requires .NET 3.5 sp1. This is due to the need to serialize/deserialize POCO objects. As of .NET 3.5 sp1 the .NET framework supports serialization of POCO(Plain old CLR objects). The requirements of POCO are that the object has a default constructor and only serializes public members of a class. This means that not all existing DotNetNuke modules will work with this provider. If you have the source code you will be able to modify the module to work with memcached. For more information about POCO Aaron Skonnard has written a great blog post about it. http://www.pluralsight.com/community/blogs/aaron/archive/2008/05/13/50934.aspx [Less]

0
 
  0 reviews  |  0 users  |  21,879 lines of code  |  0 current contributors  |  Analyzed 3 days ago
 
 

C++ memcache client implementing asynchronous I/O model to gain high scalability for less resources Portable, uses epoll in Linux and kqueue in FreeBSD. Designed for application in an I/O event driven network server with MemcacheDB or Memcached at its backend. Supports simple connection pooling ... [More] , limited to interaction with a single MemcacheDB or Memcached server. [Less]

0
 
  0 reviews  |  0 users  |  6,187 lines of code  |  0 current contributors  |  Analyzed 6 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.