Category: Best Practices and Tutorials

N1QL: To Query or To Analyze?

Note: This recommendation note was written in collaboration with Till Westmann and Mike Carey, who lead the Couchbase analytics R&D. Couchbase’s Query and Analytics Services both support N1QL (SQL for JSON).  A common question is: “Which service should run my...

/ January 24, 2019

Relational to NoSQL – CRM Application Data Visibility

As a follow up to my previous webcast on the subject of Relational to NoSQL database where I discussed that we are in the third phase of the NoSQL adoption, the “Broad Replatforming” of Enterprise Application. I want to provide an...

/ January 21, 2019
Background App Refresh

Background data sync with Couchbase Mobile on iOS: Tutorial

One of the key features of Couchbase Mobile data platform is the ability to sync data across the Couchbase Lite enabled mobile clients and the Sync Gateway. The ability to run apps in the background is typical in the mobile...

ReactiveX Logo

Exploring RxJava – Wrapping a Listener Callback

In this post, I’ll show how to convert a callback-based listener style API to a reactive one with RxJava 2. Contents Introduction Objective Getting Started Creating a Source Listing: BasicSource.java Listing: UnboundSource.java Converting to an Observable Listing: Observables.java Instantiation and...

Meeting data protection needs for Couchbase Data Platform

In the world where data is the currency, backup & recovery for a database is as essential as any other defining parameter such as consistency or performance because the customers cannot afford data loss under any circumstance. Couchbase offers a...

JSON to Insights: Analyzing US healthcare Data.

“Nothing is certain except for death and taxes.” This isn’t a dataset made with a bed of roses or manicured green grass. A bit more serious. Let’s see if we can quickly learn anything here. The dataset is the following. “name”...

/ December 7, 2018

JSON to Insights: Fast and Easy

Co-author:  Sitaram Vemulapalli, Principal Engineer, Couchbase R&D. “The answer my friend is hiding in JSON” – Bob Dylan There are a lot of public JSON datasets and then is awesome JSON datasets. Every company, including yours, has stored a lot of...

/ December 1, 2018

Understanding Cross Datacenter Replication (XDCR) – Part 1

If you have any familiarity with Couchbase, you definitely know XDCR. If you use Couchbase for any of your applications, you are very likely using XDCR. I wouldn’t be wrong if I said, XDCR is indeed one of our customers’...

The 2018 Gartner Operational DBMS Magic Quadrant

If you follow the Operational DBMS market, you may have seen the recently-published Gartner Operational DBMS Magic Quadrant for 2018.  Each year, Gartner creates specific criteria that each vendor must meet in order to be considered for the MQ. And...

/ November 5, 2018

Eventing Service Best Practices

Couchbase Eventing Service was introduced in Couchbase Data Platform 5.5 release.  Couchbase Data Platform 6.0 release saw the introduction of Timers. Similar to the Indexing Best Practices that we had published earlier, let’s look at some best practices when it comes to...