Store
Community Documentation

v3 Knowledgebase

CouchBase Cache - Memcache

Hi Guys,

I though the community might be interested in this.

Over the weekend I started playing with couchbase. Its a noSQL data store. But one of the things it also does is act as a cache server. Providing support for memcache. (to date the tests results have been great, its a very quick & slick product, both community & commercial versions).

The people behind the product are the original developers of memcache and CouchDB. Its opensource under the Apache license.

Using Couchbase really only applies to larger or sites. e.g at least 1. WebServer for phpfox. 1. Couchbase Server and 1. MySql Server.

Couchbase provides many advantages over standard memcached server(s).

Including
Clustering
Replication
Persistent cache
Auto-sharding
Web Monitoring & Management Console
API & Command line interfaces
Very scalable 100's of cache servers




For details go to: http://www.couchbase.com/memcached (May 2013)

Install Steps.

Step 1) Download Couch Base
http://www.couchbase.com/download (May 2013)

Step 2) Install Couch Base
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-getting-started-install-ubuntu.html (This is for Unbantu, but they have instructions, for other linux, windows and mac osx. (May 2013)

Step 3) Configure Couch Base
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-getting-started-setup.html (May 2013)

Step 4) Install memcache client on your web server, (the server(s) that phpfox is running on, dont install memcached, we just need the client (PHP API)) (php5-memcache)

http://www.search-this.com/2007/07/24/an-introduction-to-memcached/ (May 2013)

Step 5) Follow PHPfox Admin Guide for memcached support.

http://www.phpfox.com/kb/article/94/how-to-enable-memcached/

Step 6) Test Away Happy