Category: Best Practices and Tutorials

Developing a Bitcoin Cryptocurrency Application with Node.js and NoSQL

I’ve been following cryptocurrency related subjects such as Bitcoin for a few months now and I’m very fascinated with everything that has been going on. As a web application developer, one topic that I’ve been particularly interested in learning more...

IPv6 Galore With Couchbase

Every single device on the internet, whether it be a laptop computer, cell phone, camera, or even your TV has an IP address. The total number of Internet Protocol version 4 (IPv4) addresses is over 4 billion, which is far...

Using Couchbase Analytics with Node.js and JavaScript

The Couchbase Analytics Service, sometimes referred to as CBAS, is a great thing for Couchbase and your NoSQL data needs because it allows you to create and run potentially complex queries against massive amounts of data efficiently using a familiar...

document conflicts and automatic resolution in couchbase mobile

Document Conflicts and Automatic Conflict Resolution in Couchbase Mobile 2.0

Document conflicts can occur in distributed environments that support data synchronization, wherein a document can be updated concurrently by one or more writers. This is especially common in mobile environments where unreliable network connections may result in concurrent changes from multiple...

Using Couchbase Analytics for Complex and Efficient Queries in a Java Application

Not too long ago I had written about using Couchbase’s new Analytics service, sometimes referred to as CBAS, within a Node.js application. In this example we had set up an Analytics dataset based on a sample Bucket and issued a...

Detect Sensitive Information In Your NoSQL Documents Automatically With Couchbase Functions

Storing sensitive information in a database without encryption is not a good thing, but have you ever done in on accident due to bugs in your application code or a misconfiguration in your database? What if there was a way...

postman_update_doc

API Testing of Couchbase Sync Gateway REST interface using Postman

The Couchbase Sync Gateway is one of the core components of the Couchbase Mobile stack. At a high level, it is responsible for securely routing and syncing data between [web and mobile] clients and Couchbase server. It supports a REST API...

Store more for less using data compression in Couchbase Server 5.5

With the launch of Couchbase Server 5.5, we have introduced end-to-end compression which allows data to remain compressed through: client to cache, to disk storage, to replication of data across data centers. Since most of our customer data is in JSON text...

Docker

Simplified Couchbase Server Cluster Creation via Docker

It’s pretty straight-forward to run an instance of Couchbase Server in a Docker container. It takes a bit more work to set up and fully configure a cluster. In this post, I’m going to walk through a shell script I...

ANSI JOIN Support in N1QL

Overview ANSI JOIN support is added in N1QL to Couchbase version 5.5. Previous versions of Couchbase only support lookup join and index join. Lookup join and index join works great when the document key from one side of the join...