Category: Best Practices and Tutorials

Introducing Couchbase PartnerEngage

Introducing Couchbase PartnerEngage

I’m very excited to announce the launch of Couchbase PartnerEngage, a new partner program tailored for resellers, system integrators, consultants and technology partners to capitalize on the Engagement Database market opportunity. Though Couchbase has been active in the partner community...

January 25, 2018
Controlling Hierarchical Logging with SLF4J and Logback

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

Introducing Full Text Search (FTS) in Couchbase Mobile 2.0

Introducing Full Text Search (FTS) in Couchbase Mobile 2.0

Couchbase Mobile 2.0, introduces powerful Full Text Search (FTS) capabilities 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 are familiar with SQL,...

Full Text Search: Better Queries for NoSQL in Node.js

Full Text Search: Better 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

Database Pagination: Using OFFSET and Keyset in N1QL

Read the pagination background in my previous article: https://www.couchbase.com/blog/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

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

How to Query Array Collections in Couchbase Lite

How to Query Array Collections in Couchbase Lite

One of the major features introduced in Couchbase Lite 2.0, 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 feel right at home with...

Use XDCR to Replicate NoSQL Data between Couchbase Docker Containers: Video Tutorial

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

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

Scaling Couchbase Server on Azure

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

December 18, 2017
Replicate NoSQL Data between Data Centers with Couchbase XDCR

Replicate NoSQL Data between Data Centers 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...

Certificate Pinning in Android with Couchbase Mobile

Certificate Pinning in Android with Couchbase Mobile

Couchbase Mobile 2.0 supports certificate pinning on all Couchbase mobile platforms. Certificate pinning is a technique used by applications to “pin” a host to it’s certificate/public key. Communication between Couchbase Lite and Sync Gateway is encryped and secured using SSL/TLS....