Month: August 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...

Paging Data Queries with N1QL

Paging Data Queries with N1QL

M. David Allen is a full-stack software engineer and entrepreneur who for more than a decade has been working with just about every different programming language and different type of database system he could get his hands on.  David has...

Aggregate grouping with N1QL / MapReduce

Aggregate grouping with N1QL / MapReduce

Aggregate grouping is what I’m titling this blog post, but I don’t know if it’s the best name. Have you ever used MySQL’s GROUP_CONCAT function or the FOR XML PATH('') workaround in SQL Server? That’s basically what I’m writing about...

August 22, 2017
Handle Data Modeling Errors in a Golang with Couchbase Application

Handle Data Modeling Errors in a Golang with Couchbase Application

I’ve been developing with Couchbase and the Go SDK for a while now, but recently I ran into an issue that I deemed to be a bug in the SDK after hours of troubleshooting. I was trying to execute a...

How to transition from Equivalent Indexes to Index Replicas?

How to transition from Equivalent Indexes to Index Replicas?

In the previous post, we saw the benefits of using index replicas over equivalent indexes.  Let’s say you are on Couchbase Server 4.x and have the following 3 equivalent indexes spread across 3 nodes; and with Couchbase 5.0 Beta available,...

Is digital innovation facing a data dilemma? Part Two: what’s behind the data crisis?

Is digital innovation facing a data dilemma? Part Two: what’s behind the data crisis?

In a previous post, I wrote about the first lesson of Couchbase’s Data Dilemma research – that, despite businesses having clear ambitions to radically improve new customer experiences and engagement, those ambitions aren’t being met. Today we’re going to look...

Azure: Getting Started is Easy and Free

Azure: Getting Started is Easy and Free

Azure is where Microsoft is spending a lot of its efforts lately. Microsoft is dedicated to making Azure a success. As someone who started working with Azure a little in the early days, I can say that it’s come a...

August 16, 2017
Bringing Your User Profile Store to Mobile with NativeScript and Angular

Bringing Your User Profile Store to Mobile with NativeScript and Angular

Continuing down the path of user profile stores, we had previously seen how to create one with Node.js and Couchbase NoSQL as well as a web client front-end for it using Angular. What if we wanted to take this into...

Diving into Couchbase Index Replicas

Diving into Couchbase Index Replicas

With Couchbase Server 4.x, customers used to create Equivalent Indexes to satisfy the twin requirements of keeping the indexes highly available and to load balance the N1QL queries. What this meant was that the exact same index definition was used...

Securely Storing Password Data in Couchbase with Golang and BCrypt

Securely Storing Password Data in Couchbase with Golang and BCrypt

When writing web applications that store passwords for your users, it is never a good idea to store them as plain text in your database, whether that be NoSQL or RDBMS. Last year I wrote about using BCrypt with Node.js...

Introducing the New Data Replication Protocol in Couchbase Mobile 2.0

Introducing the New Data Replication Protocol in Couchbase Mobile 2.0

In a distributed system, updates to a shared database from multiple clients will have to be synchronized. The goal of the replication process is to ensure that all the mobile clients and the server(s) have a consistent view of the...

Azure Functions with Couchbase Server

Azure Functions with Couchbase Server

Azure Functions are Microsoft’s answer to Amazon’s Lambdas or Google’s Cloud Functions (aka “serverless” architecture). They give you a way to deploy small pieces of code, and let Azure handle the underlying server. I’ve never used them before, so I...

August 9, 2017