Category: Application Design
-

Data Modeling for Couchbase with erwin DM NoSQL
Given the architecture and design of NoSQL systems, especially the document family databases like Couchbase that do not enforce schema on write, data modeling for NoSQL can often be challenging when migrating from relational…
-

Event Sourcing | Event Logging – An Essential Microservice Pattern
As I mentioned in my previous post about how to fail with microservices, debugging a distributed system is a challenging task. Many things can go wrong, and some of them are out of our…
-

Understanding Index Grouping And Aggregation in Couchbase N1QL Query
Couchbase N1QL is a modern query processing engine designed to provide aggregate SQL for JSON by index on distributed data with a flexible data model. Modern databases are deployed on massive clusters. Using JSON…
-

How to Condemn Your Microservices Architecture to Fail Before You Even Start
A lot has already been said about microservices over the last few years, but I commonly see new distributed systems being developed with the old mindset of monoliths. The side effect of building something…
-

Use OpenWhisk for FaaS with Node.js and Couchbase NoSQL
If you’ve been keeping up with my content, you’ll remember that I had written an article titled, Use AWS Lambda and API Gateway with Node.js and Couchbase NoSQL. In this article we had explored using…
-

Saga Pattern | How to Implement Business Transactions Using Microservices – Part II
In the previous post, we saw some of the challenges of implementing distributed transactions and how to implement Saga’s pattern using the Event/Choreography approach. In this article, let’s talk about how to address some…
-

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

Saga Pattern | Application Transactions Using Microservices – Part I
Transactions are an essential part of applications. Without them, it would be impossible to maintain data consistency. One of the most powerful types of transactions is called a Two-Phase Commit, which is in summary…
-

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

Couchbase Analytics Developer Preview 4 – Bringing NoETL to NoSQL
I am very excited to announce the release of Couchbase Analytics Developer Preview 4 (DP4). The focus of the previous release was unified administration, and we have continued to build on that theme in…
-

Midwest JS Project Source on Full Stack Node Development, Available
Back in August I had participated in Midwest JS located in Minneapolis, Minnesota. As you may know, I’m a huge fan of developing full stack applications with the JavaScript stack. This is exactly what I had…
-

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…