Tag: sync_gateway

Document Conflicts & Resolution in Couchbase Mobile 2.0

Document Conflicts & Resolution in Couchbase Mobile 2.0

Document conflicts can occur in distributed environments that support data synchronization, wherein a document can be updated concurrently by one or more writers. This is especially common in mobile environments where unreliable network connections may result in concurrent changes from...

Test Couchbase Sync Gateway REST API interface using Postman

Test Couchbase Sync Gateway REST API interface using Postman

The Couchbase Sync Gateway is one of the core components of the Couchbase Mobile stack. At a high level, it is responsible for securely routing and syncing data between web and mobile clients and Couchbase server. It supports a REST...

Announcing Couchbase Mobile 2.0 Beta

Announcing Couchbase Mobile 2.0 Beta

I am happy to announce that Couchbase Mobile 2.0 beta is now available for download here. Couchbase Mobile 2.0 Couchbase Mobile 2.0 is a ground breaking release with really exciting new features Improved Couchbase Lite Simplified API with built in...

Sharing and Syncing Data between iOS Apps and App Extensions across devices

Sharing and Syncing Data between iOS Apps and App Extensions across devices

This post discusses how to use Couchbase Mobile to share data between your iOS App and iOS App Extension across devices. In an earlier post, we discussed how you can use Couchbase Lite as a standalone, embedded data store to share...

Access to Shared Database Bucket from Web and Mobile Clients in Couchbase Mobile (Updated)

Access to Shared Database Bucket from Web and Mobile Clients in Couchbase Mobile (Updated)

With the release of Couchbase Mobile 1.5 and Couchbase Server 5.0,mobile ,web and desktop apps can seamlessly access documents in the same Couchbase Server bucket. This implies that a document created on the server via the Couchbase SDK will be...

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

Access to Shared Couchbase Database Bucket From Mobile and Web Clients

Access to Shared Couchbase Database Bucket From Mobile and Web Clients

There is an updated version of this post here With the release of Sync Gateway 1.5 and Couchbase Server 5.0, mobile and web clients can seamlessly access documents in the same Couchbase Server bucket. This implies that a document created...

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

Using Node.js and Swagger to Monitor Document Changes in Couchbase Mobile

Using Node.js and Swagger to Monitor Document Changes in Couchbase Mobile

When building applications with Couchbase Mobile there are a lot of interesting possibilities for server-side integration. Creating business logic to resolve synchronization conflicts is one common use. The Sync Gateway document “changes” feed makes all sorts of event-driven operations easy...

Getting Comfortable with Couchbase Mobile: Installing Couchbase Server

Getting Comfortable with Couchbase Mobile: Installing Couchbase Server

Introduction The Couchbase Mobile stack comprises three components, Couchbase Server, Sync Gateway, and Couchbase Lite. To get comfortable with the whole stack, it’s great to install and run everything on your development machine. In this series of posts, I’ll walk through the steps get to...

New in Couchbase Mobile v1.3: OpenID Connect

New in Couchbase Mobile v1.3: OpenID Connect

In this post I’m going to write about an important new feature in Couchbase Mobile version 1.3, OpenID Connect (OIDC) support. Introduction Couchbase Mobile has an number of important security features. Sync Gateway acts as the intermediary that allows Couchbase Lite to replicate data...

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