Skip to Main Content
Getting Started with Couchbase Server
book

Getting Started with Couchbase Server

by MC Brown
June 2012
Beginner content levelBeginner
90 pages
2h 9m
English
O'Reilly Media, Inc.
Content preview from Getting Started with Couchbase Server

Chapter 4. Developing with Couchbase

When building an application with Couchbase, your first consideration should be how you communicate and integrate with the Couchbase cluster. From a client perspective, your Couchbase cluster should operate like a “black box” environment. Although you need to be aware of the environment in which you are operating, the configuration, topology, and scope of your cluster is irrelevant to the way you will store and retrieve information.

You configure your client to communicate with the cluster and store data. The client library (or the Moxi proxy service) is responsible for the communication to individual nodes within the cluster to handle the distribution of data. Other aspects, such as rebalancing or failover, should not affect or interrupt the core operations of exchanging information.

In this chapter we’re going to start by taking a quick look at how the basic storage operations work, then look more closely at the key operations supported within Couchbase Server on the stored data, and then discuss some of the main considerations when developing an application that uses the document model with Couchbase Server to store data.

Hello Couchbase

Couchbase Server stores information by storing a document (the value) identified by a document ID (the key). This makes the development and deployment of your application very simple. You store a document by sending the document data and the document ID you want to store it under. To get the information back, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Developing with Couchbase Server

Developing with Couchbase Server

MC Brown
Pro Couchbase Server

Pro Couchbase Server

David Ostrovsky, Yaniv Rodenski
Pro Couchbase Server, Second Edition

Pro Couchbase Server, Second Edition

David Ostrovsky, Mohammed Haji, Yaniv Rodenski

Publisher Resources

ISBN: 9781449331054