Tag: nosql

Going Full Stack with Node.js, Vue.js, and Couchbase NoSQL

Going Full Stack with Node.js, Vue.js, and Couchbase NoSQL

If you’ve been keeping up, I’m a huge advocate for Node.js development and the JavaScript development stack. Previously I had written about the Couchbase, Express, AngularJS, and Node.js (CEAN) stack and modernized the backend API with Hapi.js, a popular alternative...

Create the Right Index, Get the Right Performance.

Create the Right Index, Get the Right Performance.

Introduction There are three things important in database systems: performance, performance, performance. For NoSQL database systems, there are three important things: performance at scale, performance at scale, performance at scale. Understanding the index options, creating the right index, with the...

Keshav Murthy November 12, 2017
Optimizing Database Pagination using Couchbase N1QL.

Optimizing Database Pagination using Couchbase N1QL.

Background: How does Google do it? When you google something or anything, it gives you back top relevant results, tells you an approximate number of documents for your topic — all under a second.   Here are some high-level pointers: https://www.google.com/search/howsearchworks/algorithms/...

Keshav Murthy November 2, 2017
N1QL: A Practical Guide. Second Edition

N1QL: A Practical Guide. Second Edition

Two years and two weeks ago, on a crisp fall day at Wall Street in New York, we launched N1QL in Couchbase 4.0. Even before the launch, we had customers using pre-release N1QL because it solved the critical business problem:...

Keshav Murthy October 26, 2017
Learn N1QL in 10 Minutes: An Interactive Online Tutorial

Learn N1QL in 10 Minutes: An Interactive Online Tutorial

N1QL is SQL for JSON. The goal of N1QL is to give developers and enterprises an expressive, powerful, and complete language for querying, transforming, and manipulating JSON data. The goal of N1QL is to give developers and enterprises an expressive,...

Keshav Murthy September 7, 2017
Developing a User Profile Store with Golang and a NoSQL Database

Developing a User Profile Store with Golang and a NoSQL Database

Remember the tutorial series I wrote in regards to creating a user profile store with Node.js and NoSQL? That tutorial covered a lot of ground, from creating a RESTful API with Node.js, handling user sessions, data modeling, and of course...

Create a User Profile Store with Node.js and a NoSQL Database

Create a User Profile Store with Node.js and a NoSQL Database

There are many use-cases for NoSQL databases, one that I encounter frequently is creating a user profile store and session. This use-case lends itself to a NoSQL database. Profiles often need to be flexible and accept data changes. While possible...

Couchbase Meetup Project on the OCEAN Stack Available

Couchbase Meetup Project on the OCEAN Stack Available

I was recently at two different Meetup groups in Southern California presenting on what I’m calling, the OCEAN stack, which is composed of Ottoman.js, Couchbase Server, Express Framework, Angular, and Node.js. We had a great turnout of developers hungry to...

Bringing SQL to NoSQL – Rich, Declarative Querying for JSON

Bringing SQL to NoSQL – Rich, Declarative Querying for JSON

Couchbase Server is a document-oriented NoSQL database. Most NoSQL systems force you to sacrifice the rich querying capabilities of SQL in trade for the other benefits they offer. At Couchbase, we’ve developed the N1QL query language to solve this problem....

Getting Started with NoSQL Using Couchbase Server and PHP

Getting Started with NoSQL Using Couchbase Server and PHP

A few days ago I wrote about using PHP with Docker and Couchbase, but I never really got into best practices of going all in with PHP and NoSQL databases. For example, how do you read and write data with...

Simplify Your NoSQL Cluster by Moving From MongoDB Sharding to Couchbase Containers

Simplify Your NoSQL Cluster by Moving From MongoDB Sharding to Couchbase Containers

When I’m out at events and talking to NoSQL users and advocates, I often hear stories on why people have decided to start using Couchbase after having come from MongoDB.  Take, for example, an interview I did with Tom Coates...

Demystifying Conflict Resolution in Couchbase Mobile

Demystifying Conflict Resolution in Couchbase Mobile

Conflicts can occur in replication environments where a document can be updated concurrently by one or more writers. This is especially common in mobile environments wherein unreliable network connections may result in concurrent changes from multiple devices not being synchronized in...