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

Summary


In this chapter, we discussed XDCR and compaction in detail. You have learned the XDCR architecture and its types of replication (intracluster and intercluster). We also discussed the conflict resolution mechanism; when there is a conflict of mutated documents. Then you learned how to configure and monitor XDCR using the web admin UI. After that, we discussed some XDCR use cases. Finally, we discussed compaction and its configuration.

You have come a long way in understanding Couchbase. Great work done! You have installed, configured, and used Couchbase in your application. I hope so! In the next chapter, we will discuss the monitoring mechanism and various tuning parameters to run Couchbase in the production environment. Until then, go and take a walk. Let your mind gets some relaxation!