Category: Couchbase Lite

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

Managing Database Sizes in Couchbase Mobile and Conflict Resolution
Couchbase Mobile uses a Multi Version Concurrency Control (MVCC) technique for handling conflicts. One of the challenges in a MVCC based system is that over time, a document can grow to have multiple revisions. One can conclude that if all...

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

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

Querying Couchbase Sync Gateway using Postman
This post discusses a convenient way to query, explore and test the REST API exposed by the Couchbase Mobile Sync Gateway using the Postman Chrome Developer tool. Sync Gateway exposes a REST, Batch & Stream interface that allows clients interact with...

Getting Started with Couchbase Lite in your iOS App : Part1
This post looks at how you can get started with Couchbase Lite in your iOS App. Couchbase Lite is an embedded JSON database that can work standalone, in a P2P network, or with a Sync Gateway as a remote endpoint. While we will...

ANN: Couchbase Lite Developer Build 003 (Obj C, Swift, .NET)
I am very pleased that Couchbase Lite Developer Build 003 is now available for download for Objective C, Swift and “.NET”. Database queries have changed significantly in this release. Couchbase Lite 2.0 uses semantics based on N1QL query language defined...

Codenvy, Eclipse Che, Docker, and Couchbase: Coding in the Cloud at Devoxx US
This week Couchbase was at Devoxx US. Devoxx is a hugely influential conference series, well known in Europe. This was the first one to take place in the United States. While I was there I had a chance to talk...

Introduction to offline data storage and sync with PouchBD and Couchbase
Offline-first is an approach to software development that is different from the traditional approach – where lack of network connection is treated as an error, thereby affecting the overall user experience. With the traditional approach, you start with the most...

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