Category: Best Practices and Tutorials

Controlling Hierarchical Logging with SLF4J and Logback

Couchbase Server is a complex product. Like most substantive software, and especially enterprise products, monitoring behavior through logging is important. I recently wrote a small sample application using the Couchbase Multi-Cluster Aware Java client. This client can handle fail over...

Full Text Search

Introducing Full Text Search (FTS) in Couchbase Mobile 2.0

Couchbase Lite 2.0, now in Developer Preview introduces powerful Full Text Search (FTS) support on your JSON Documents. This is part of the new Query interface based on N1QL, Couchbase’s declarative query language that extends SQL for JSON. If you...

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

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

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

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

Supporting Another Record-Breaking Black Friday and Cyber Monday

I’m happy to report that we have nothing to report. Once again, Couchbase Support was fully prepared to provide immediate, all hands responses to major events over the insanely busy, make-or-break shopping extravaganza known as the Black Friday/Cyber Monday weekend....

Azure Cloud

Scaling Couchbase Server on Azure

Scaling is one of Couchbase Server’s strengths. It’s easy to scale, and Couchbase’s architecture makes an efficient use of your scaling resources. In fact, when Couchbase customer Viber switched from Mongo to Couchbase, they cut the number of servers they...

Replicate NoSQL Data Between Datacenters with Couchbase XDCR

When it comes to databases, data safety and performance are incredibly important. As a business you want to make sure you have disaster recovery in place and you want to make sure your database is not a bottleneck on the...