In association with heise online

12 December 2012, 15:23

Couchbase Server 2.0 combines memcached and CouchDB

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Couchbase logo Four months after the first preview, the Couchbase developers have released version 2 of Couchbase Server, the open source document-oriented NoSQL database. Bringing together features from both the memcached key-value memory caching system and the document-oriented Apache CouchDB database, the new database offers both key-value and document-oriented storage and indexing.

Couchbase documents are created in JSON format, allowing them to be schema-less and unstructured during development and granting developers more flexibility to modify how they store data without restructuring existing data. Indexing and querying can be distributed over a number of Couchbase systems. An incremental MapReduce framework can be used for a number of query types, with the map and reduce functions written in JavaScript.

To ease development, views on the stored data can be created as development or production views, with the former dealing with a more limited set of the data to make processing more manageable. Internally, Couchbase Server 2 automatically creates indexes to accelerate the execution of the map functions, and takes into account the differences between development and production views. The manual recommends that, shortly before a view is put into production, an index of all documents be created; generating an index may take several hours over a large database, the authors note.

To work with Couchbase Server, developers can either use a REST API or use native APIs for Java, .NET, C, Ruby, PHP and Python. Documentation for developers includes a Getting Started guide, Manual and Developer Guide.

CouchBase Server 2.0 is available in both Enterprise and Community editions, with binaries for 64-bit and 32-bit Ubuntu, Red Hat, Windows and Mac OS X available to download; source code for the community edition is also available. The enterprise edition is an annual subscription offering 24/7 support and qualified binaries. The community edition is built around the Apache-licensed Couchbase Open Source Project and is not recommended for production use by the company.


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit