Tag: replication

Introducing the New Data Replication Protocol in Couchbase Mobile 2.0

Introducing the New Data Replication Protocol in Couchbase Mobile 2.0

In a distributed system, updates to a shared database from multiple clients will have to be synchronized. The goal of the replication process is to ensure that all the mobile clients and the server(s) have a consistent view of the...

Simplify Your NoSQL Cluster by Moving From MongoDB Sharding to Couchbase Containers

Simplify Your NoSQL Cluster by Moving From MongoDB Sharding to Couchbase Containers

When I’m out at events and talking to NoSQL users and advocates, I often hear stories on why people have decided to start using Couchbase after having come from MongoDB.  Take, for example, an interview I did with Tom Coates...

Announcing Couchbase Mobile 2.0 Developer Preview

Announcing Couchbase Mobile 2.0 Developer Preview

Couchbase Mobile 2.0 is a groundbreaking new release for Couchbase Mobile. We’ve reimagined the developer experience with a cross-platform common core, new simplified API, and automated conflict resolution that can be customized. In this release, we are bringing N1QL queries...

Synchronizing Images Between Android and iOS with NativeScript, Angular, and Couchbase

Synchronizing Images Between Android and iOS with NativeScript, Angular, and Couchbase

A few weeks ago I had written a guide that demonstrated saving captured images to Couchbase Lite as base64 encoded string data in a NativeScript with Angular mobile application. While the previous guide worked for both Android and iOS, the...

Data Synchronization Across iOS Devices Using Couchbase Mobile

Data Synchronization Across iOS Devices Using Couchbase Mobile

This post looks at how you get started with data replication/synchronization across iOS devices using Couchbase Mobile. The Couchbase Mobile Stack comprises of Couchbase Server, Sync Gateway and Couchbase Lite embedded NoSQL Database. In an earlier post, we discussed how...

Determining Status of a Replication in Couchbase Lite

Determining Status of a Replication in Couchbase Lite

Couchbase Lite runs replications (syncs) using background threads. Starting and stopping replications doesn’t happen synchronously. This can lead to mistakes in detecting the state of a replication. The Replication class has, depending on platform, either a running property or a...

Syncing Couchbase Documents Between Mobile Platforms and Devices with NativeScript and Angular

Syncing Couchbase Documents Between Mobile Platforms and Devices with NativeScript and Angular

Over the past few days we’ve been exploring how to create a simple Android and iOS application using NativeScript, Angular and Couchbase. First we saw how to use Couchbase for basic key-value operations and then we saw how to query...

Sync Gateway Inter-instance Code Sample

Sync Gateway Inter-instance Code Sample

In this post, I went into some detail about replications between Sync Gateway (SG) instances in Couchbase Mobile (CBM). I wrote a simple Java application with a Swing-based UI to illustrate a working example. I run the app along with two instances of SG to...

Why is Couchbase Mobile a Great Solution for Modern App Development?

Why is Couchbase Mobile a Great Solution for Modern App Development?

There is a lot of chatter circulating the Internet when it comes to mobile application development and data management. Should you use a service, or a software for your mobile apps. Pretty much every decent app today requires fast changing...

Create an AngularJS Web Application that Sync’s with Couchbase using PouchDB

Create an AngularJS Web Application that Sync’s with Couchbase using PouchDB

Not too long ago I created a tutorial demonstrating how to sync between a web application and Couchbase Server using nothing more than client facing technologies like AngularJS, HTML, and CSS.  This was all made possible with the JavaScript library...

Database Change Protocol: The super-conductor that wires Couchbase Server 3.0 replication

Database Change Protocol: The super-conductor that wires Couchbase Server 3.0 replication

Database Change Protocol (DCP) is the core replication protocol for version 3.0 and is used to connect nodes and clusters across geo distributed data centers. In this post, we’ll dive deep into its workings and how it enables higher availability, performance and scale with Couchbase...