Book Image

Learning Couchbase

By : Henry Potsangbam
Book Image

Learning Couchbase

By: Henry Potsangbam

Overview of this book

This book achieves its goal by taking up an end-to-end development structure, right from understanding NOSQL document design to implementing full fledged eCommerce application design using Couchbase as a backend. Starting with the architecture of Couchbase to get you up and running, this book quickly takes you through designing a NoSQL document and implementing highly scalable applications using Java API. You will then be introduced to document design and get to know the various ways to administer Couchbase. Followed by this, learn to store documents using bucket. Moving on, you will then learn to store, retrieve and delete documents using smart client base on Java API. You will then retrieve documents using SQL like syntax call N1QL. Next, you will learn how to write map reduce base views. Finally, you will configure XDCR for disaster recovery and implement an eCommerce application using Couchbase.
Table of Contents (12 chapters)
Index

The need for the Couchbase administrative interface


Couchbase has been designed to make the life of an administrator easy. As seen in the previous chapter, it can be installed with a few clicks, and most of the administrative tasks that are required for running and configuring clusters are managed by the Couchbase server itself. In fact, Couchbase provides very minimal configuration options to bring the cluster up and running, and the majority of these configurations can be performed through a very user-friendly user interface. In most cases, the administrator does not have to make any changes in configuration, unless required.

However, in any system, some operational tasks and maintenance are required to be performed for smooth operation and to keep the system healthy. For instance, when the load on the cluster increases, we can expand it by adding nodes to increase the memory and improve the disk I/O performance. Couchbase provides a mechanism to expand the cluster size when the application...