Category: Application Design

Couchbase for Oracle Developers – Part 2 : Architecture

Couchbase for Oracle Developers – Part 2 : Architecture

Back in November, Raju Suravarjjala, (Sr. Director, Couchbase QE & Performance) and I  presented “Mindmap: Oracle to Couchbase For Developers”. You can see the slide deck here: http://bit.ly/2mPdJfo. Overview article for the series is at is at https://www.couchbase.com/blog/couchbase-oracle-developers-part-2-architecture/. This series is written in...

January 22, 2018
Full Text Search: Better Queries for NoSQL in Node.js

Full Text Search: Better Queries for NoSQL in Node.js

Querying a database with SQL or a similar technology is great until you find yourself needing to query natural language. Do you degrade the performance of your queries with wildcards? How about searching across multiple columns or properties? What happens...

Saga Pattern | How to Implement Business Transactions Using Microservices – Part II

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 of its problems like complex transactions...

Database Pagination: Using OFFSET and Keyset in N1QL

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 is the easy way to write...

January 11, 2018
Saga Pattern | Application Transactions Using Microservices – Part I

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 when the commit of a first...

Use AWS Lambda and API Gateway with Node.js and Couchbase NoSQL

Use AWS Lambda and API Gateway with Node.js and Couchbase NoSQL

There has been a lot of buzz around functions as a service (FaaS), commonly referred to as serverless. A popular provider for these functions is Amazon with its AWS Lambda service. One could create a function in any of the...

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

Serverless Architecture with Cloud Computing

Serverless Architecture with Cloud Computing

Serverless is one of the new buzz words that you’ve probably heard. It refers to a type of deployment where the server is abstracted away. It doesn’t mean there aren’t servers, just that you don’t have to provision the servers...

December 5, 2017
Couchbase Analytics Developer Preview 4 – Bringing NoETL to NoSQL

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 the latest release. DP4 offers new...

Comparing Couchbase Views with Couchbase N1QL & Indexing.

Comparing Couchbase Views with Couchbase N1QL & Indexing.

As Couchbase data platform evolved, services like N1QL and GSI Indexing handled the use cases Couchbase VIEWS used to handle and much more.  It’s logical to ask the comparative question between them.  Here is a table comparing both.  This is...

December 4, 2017
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...

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/...

November 2, 2017