Results for: sync function
Functional and Integration testing (FIT) Framework
This blog describes the design and development of the test framework i.e FIT framework for Couchbase transactions in a distributed environment. We’ll start out by introducing you to high-level architectural insight, then we’ll walk you through the development of the...
How to Add Full-Text Search Functionality to Your JavaScript App
It’s unavoidable: If you’re working with a document database, you’re eventually going to need to search for (and through) your JSON documents. In this tutorial, you’ll add the full-text search capabilities of Couchbase to the basic REST API built with...
How to Create Async Get/Upsert Calls with Node.js and Couchbase
If you’re a JavaScript dev who’s transitioning to use Node.js, you’ll want to take advantage of async functions. That’s because asynchronous API calls don’t block your code and return promises. In this post, I’ll show you how to create async...
OIDC Authorization Code Flow for Client Authentication in Couchbase Sync Gateway [Part 3 of 3]
Couchbase Sync Gateway supports OpenID Connect or OIDC-based client authentication. In this context, clients may be Couchbase Lite clients that synchronize data with Sync Gateway over the Internet using the websockets-based replication protocol or they could be web frontend or...
OIDC Implicit Flow for Client Authentication in Couchbase Sync Gateway [Part 2 of 3]
OpenID Connect (OIDC) is a popular client authentication mechanism supported by Couchbase Sync Gateway. In this context, clients may be Couchbase Lite clients that synchronize data with Sync Gateway over the Internet using the websockets-based replication protocol or they could...
Get set to the edge with Sync Gateway
Introduction Imagine you are going to meet an important client in downtown San Francisco, CA and you have an email with details on who to call to when you get to the office lobby. You are in the lobby but...
Using Prometheus and Grafana With Couchbase Sync Gateway
In order to improve the accessibility of our stats, the Couchbase Sync Gateway 2.8 release integrates theĀ Prometheus exporter functionality directly into Sync Gateway, reducing the steps required to setup a monitoring stack. In this post, we will discuss the...
Cloud to Edge data sync with Couchbase Sync Gateway
The Couchbase Sync Gateway 2.8 release announced support for enterprise-grade cloud-to-edge data sync. The new inter-Sync Gateway replication technology allows enterprise-grade scalable, secure sync between cloud and edge data centers in a distributed cloud environment to cater to the demands...
Peer-to-Peer Database Sync with Couchbase Lite
Couchbase Lite 2.8 release announced support for out-of-the-box, enterprise-grade peer-to-peer database sync solution. The new capability allows direct sync between Couchbase Lite enabled mobile and/or non-mobile embedded apps without the need for a cloud-based control point. In this post, we...
Synchronized Drawing Apps with Couchbase Mobile
Couchbase Mobile contains a robust and powerful embedded NoSQL database, called Couchbase Lite, that can be used within your iOS, Android, and Xamarin apps. The Couchbase Mobile stack also contains Sync Gateway. Sync Gateway enables secure data synchronization across Couchbase...
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...