Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js

Querying a database with SQL or a similar technology is great until you find yourself needing to query natural language. Do you degrade the performance of your queries with wildcards? How about searching across multiple columns or properties? What happens...

Saga Pattern | How to implement business transactions using Microservices – Part II

In the previous post, we saw some of the challenges of implementing distributed transactions and how to implement Saga’s pattern using the Event/Choreography approach. In this article, let’s talk about how to address some of its problems like complex transactions...

Database Pagination: Using OFFSET and Keyset in N1QL.

Read the pagination background in my previous article: https://blog.couchbase.com/optimizing-database-pagination-using-couchbase-n1ql/ Pagination is the task of dividing the potential result into pages and retrieving the required pages, one by one on demand.  Using OFFSET and LIMIT is the easy way to write...

/ January 11, 2018

Saga Pattern | How to implement business transactions using Microservices – Part I

Transactions are an essential part of applications. Without them, it would be impossible to maintain data consistency. One of the most powerful types of transactions is called a Two-Phase Commit, which is in summary when the commit of a first...

Azure Cloud

Test Drive: Trying Couchbase on Azure for Free

Test Drive is an Azure feature that allows you to try out software in the cloud for free. Previously, I wrote about how Getting started with Couchbase on Azure is easy and free. That post told you how to get...

Use AWS Lambda and API Gateway with Node.js and Couchbase NoSQL

There has been a lot of buzz around functions as a service (FaaS), commonly referred to as serverless. A popular provider for these functions is Amazon with its AWS Lambda service. One could create a function in any of the...

Speculative Execution Processor Vulnerabilities – ‘Meltdown and Spectre’: What you need to know

On Jan 3, 2018, Google’s Project Zero team along with several other university researchers identified several security issues with speculative execution, an optimization technique used in microprocessors to improve performance. Couchbase is aware of the recently disclosed class of processor/OS...

FTS with Facets in Couchbase NoSQL with Node.js – Video Tutorial

Earlier this month I had written about using facets with Full Text Search (FTS), a subject that is often considered scary. In this previous tutorial we had configured an FTS index and a sample application with the premise of being...

SQL for JSON Query

How to Query Array Collections in Couchbase Lite

One of the major features introduced in Couchbase Lite 2.0 , now in Developer Preview is the new Query interface based on N1QL, Couchbase’s declarative query language that extends SQL for JSON. If you are familiar with SQL, you will...

Use XDCR to Replicate NoSQL Data Between Couchbase Docker Containers – Video Tutorial

A few weeks ago I had written an article outlining the steps for using cross datacenter replication (XDCR) in Couchbase. This article described everything from cluster setup to replicating NoSQL documents that exist in one cluster to another cluster. In...