Category: Best Practices and Tutorials

Optimize N1QL performance using request profiling

Monitoring uncovered the resource hog. Now what? Couchbase Server 4.5 introduced a mechanism to keep an eye on executing requests, so that slow performers could be highlighted. This DZone article covers the subject of N1QL monitoring in great detail, but...

The Value of Customer Feedback

A couple weeks ago, our company came together in Paris, as we will do again later this month in the Silicon Valley, for our user conference called Connect.  During our conferences, we spend time talking to current and prospective customers...

/ October 12, 2017

Create a RESTful API with Node.js, Hapi, and Couchbase NoSQL

Developing Node.js applications with Express is no doubt a very popular option, however it isn’t the only option and it may not even be the best option. I recently started looking into Hapi which defines itself as being a framework...

Infrastructure as code: Couchbase distributed cluster best practices – Part 1 introduction and theory  

Arkadiusz Borucki works as a Site Reliability Engineer at Amadeus, focused on NoSQL databases and automation. In his day-to-day work, he uses Couchbase, MongoDB, Oracle, Python, and Ansible. He’s a self-proclaimed big data enthusiast, interested in data store technologies, distributed systems, analytics,...

Dates, Timestamps and Timezones – A Comparative study of Oracle and N1QL support for the Date-Time feature : Part 1

Read the pdf version here. Date and Time formats/types are very different for different databases. In the article we shall compare Couchbase N1QL Date-Time functions with Oracle’s Date-Time support. Oracle contains multiple data types associated with date-time support, namely, DATE, TIMESTAMP,...

/ September 22, 2017

Asynchronously Perform Subdocument Mutations in Couchbase with Golang

Not too long ago I had written about using the Couchbase Server subdocument API with the Go SDK. Doing subdocument operations is incredibly useful if you’d like to change or access a part of a potentially huge NoSQL document. Subdocument...

Dependency injection

Dependency Injection with ASP.NET Core and Couchbase

Dependency Injection is a design pattern that makes coding easier. It saves you the hassle of instantiating objects with complex dependencies, and it makes it easier for you to write tests. With the Couchbase.Extensions.DependencyInjection library (GitHub), you can use Couchbase...

Hashing Password Data in Couchbase with Golang and BCrypt – Video

I recently wrote about hashing password data using Golang before storing them into Couchbase. This is very useful because user data is incredibly sensitive. To further build upon what I wrote about, I thought it would be great to show...

Continuously Deploying a Node.js Application Using CircleCI

A few months back I had written about creating a continuous deployment pipeline with Node.js and Jenkins, where the Node.js application was using Couchbase in some fashion. Essentially, it took a project from GitHub, installed the dependencies, ran the tests,...