require 'rubygems' require 'memcache' MC = MemCache.new '10.0.1.201' MC[:test] = 'This string lives in memcached!' #--- require …
Memcache 源代码
memcache是一套分布式的高速缓存系统,由LiveJournal的BradFitzpatrick开发,但被许多网站使用以提升网站的访问速度,尤其对于一些大型的、需要频繁访问数据库的网站访问速度提升效果十分显著[1]。这是一套开放源代码软件,以BSDlicense授权发布。
Memcache notes_version Introduction Other Services
Predefined Constants Resource Types Examples Memcache
Introduction Memcache Installing/Configuring Memcache
Memcache Functions Memcache Memcache::add Memcache
Return version of the server Memcache::getStats Memcache::increment Memcache
Flush all existing items at the server Memcache::delete Memcache::get Memcache Functi
Store data at the server Memcache::replace Memcache::setCompressThreshold
Enable automatic compression of large values Memcache::set Memcache::setServerParams
Examples Predefined Constants Memcache Functions Memcache