Category: Best Practices and Tutorials

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...

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...

N1QL & SEARCH: Leverage Full-Text Search (FTS) Index in N1QL
With Couchbase v6.5, Full-Text Search is now integrated into the Couchbase N1QL query construct. Customers can now leverage FTS indexes directly with N1QL. This provides developers a single API to combine N1QL exact predicate matching and FTS powerful searching. The...

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”...

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...

Understanding Cross Data Center 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...

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...

Using Couchbase Lite for Data Storage With Cordova Plugin
Couchbase Lite is an embedded NoSQL database for iOS, Android and .Net platforms. The framework’s API supports native platform bindings for Android(Java), iOS (Swift, ObjC) and UWP/Xamarin (csharp). This implies that if you are building a Cordova app and you...

Offline Inventory Scanning with Zebra DataWedge and Couchbase Mobile
Introduction Zebra Technologies™ is a global leader in barcode printing, mobile computing, data capture, and related capabilities. Zebra offers a complete line of ruggedized handheld computers with built-in bar code scanners. These Android-based devices have a wide range of...

Tutorial on Using Couchbase Lite for data storage in React Native Apps
Couchbase Lite is an embedded NoSQL database for iOS, Android and .Net platforms. The framework’s API supports native platform bindings for Android (Java), iOS (Swift, ObjC) and UWP/Xamarin (csharp). This implies that if you are building a React Native app...