Simple play icon Course
Skills

Create Couchbase 6 Nodes and Buckets

by Kishan Iyer

This course introduces you setting up a distributed Couchbase environment. It covers the management of distributed and replicated data in a cluster, including the effects of adding removing nodes, and explores bucket configuration and compaction.

What you'll learn

Couchbase is a document-oriented database with a distributed architecture, meaning its data and services are distributed over a number of nodes in a cluster. In this course, Create Couchbase Nodes and Buckets, you will explore the setting up and maintenance of a multi-node Couchbase cluster using the Couchbase web UI, the CLI, and the REST API. First, you will learn to create a cluster with a single node and load data into a bucket. Then, you will delve into adding nodes to the cluster and how this influences factors such as data replication and distribution. Next, you will discover how to deal with node removal and the unavailability of nodes in a cluster and how these can be handled by performing a failover, including graceful failovers of running nodes and hard failovers of failed nodes. After that, you will explore bucket initialization and the various properties of buckets in Couchbase - from setting their documents to expire after a given length of time, to enabling the removal of all data from a bucket with a single command. Finally, you will learn the effects of fragmentation on a Couchbase bucket and how this can be addressed by the compaction process. When you’re finished with this course, you will have a broad understanding of the options available when working with a multi-node Couchbase cluster and when configuring buckets in Couchbase.

About the author

I have a Masters in Computer Science from Columbia University and have worked previously as a developer and DevOps engineer. I now work at Loonycorn which is a studio for high-quality video content. My interests lie in the broad categories of Big Data, ML and Cloud.

Ready to upskill? Get started