Tag: sync_gateway

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

Couchbase Shared Database Access

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

Replication Layered Protocol

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

Couchbase Shared Database Access

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

Couchbase Data Synchronization

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

Node.js and Swagger

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

Couchbase Mobile Stack

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

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

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

New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway

DNA undergoing replication. Graphic courtesy of Madprime with permission under license CC BY-SA 2.0 Sync Gateway Sync Gateway forms the “glue” between Couchbase Lite and Couchbase Server in the Couchbase Mobile stack.  It's a secure web gateway that enables sync and data access over the web. That's one...