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

Overview


The installation and setting up of a Couchbase cluster involves only a few mouse clicks. It's one of the easiest systems to set up that I have ever seen in the 15 years of my career. However, the job of an administrator is not only to install the system but to also monitor it, verify that it is working well, and take pre-emptive action depending on the current capacity and resource consumption. Administration is a vast topic. It can cover networking, operating system, hardware, and so on. We will be only discussing topics related to the Couchbase system in this chapter.

An administrator needs to ensure that proper backup is taken and schedule for critical database systems. Although a Couchbase cluster maintains multiple copies of documents using replication, there is sometimes a need for backup of databases for critical systems, for audit recommendation or compliance, and so on. Thus, we need to ensure that after taking backup of the system, it can be used to restore the system at...