Drupal integration with Couchbase

Notice: if using PDO couchbase extension after 2.3.0 you MUST use the 8.2.x branch.

What is couchbase?

Couchbase Server, originally known as Membase, is an open-source, distributed (shared-nothing architecture) NoSQL document-oriented database that is optimized for interactive applications.

  • Couchbase Server 4.0: The world’s best database for building web, mobile & IoT applications.
  • Couchbase Delivers 6x Better Price / Performance than Cassandra
  • Couchbase 4.5x Faster than MongoDB with Wired Tiger Storage Engine

To keep it short, Couchbase is the enterprise ready version of Redis/Mongo.

Features

This module uses the native PHP Couchbase extension to provide specific implementations for Drupal's:

  • CacheBackend
  • TagsChecksum
  • LockBackend
  • FileCacheBackend
  • Flood service
  • SessionBackend (not implemented yet)

To unleash the full power of Couchbase, you should also use the Supercache module.

Although Couchbase has a Memcache compatible interface, using it's native API makes it much more faster because:

  • It uses an enhanced communication protocol
  • You can leverage Couchbase native functionality

Couchbase will scale out of mind, being used by the biggest companies out there such as PayPal, LinkedIn and many others.

Getting the PHP extension:

You can get the Couchbase PHP extension from here:

http://developer.couchbase.com/documentation/server/4.1/sdks/php-2.0/dow...

This is the GITHUB source for the extension:

https://github.com/couchbase/php-couchbase

What if I want to use Couchbase with Drupal 7?

You can use the Memcache module, you still get some very decent performance, but it is not the same.

See the Readme.rm file for deployment instructions.

Important notice: This module does not create a hard dependency between your Drupal installation and the Couchbase Backend. You can disable the integration any moment without data loss. That means that you DO NOT need to manage backups for Couchbase, it is only used as an accelerator. (services such as flood, session DO depend on the Couchbase backend, but they store data that can be - sort of - volatile)

Brought to you by:

www.DrupalOnWindows.com

The leading Drupal integrator for Azure PaaS and Microsoft related ecosystem.

For a quick Couchbase setup tutorial check out the blog post:

Drupal 8 Couchbase Integration

Project information

Releases