Month: January 2018

Speculative Execution Processor Vulnerabilities – Performance Impact Analysis

Speculative Execution Processor Vulnerabilities – Performance Impact Analysis

Last week, we published a blog with recommendation on securing Couchbase data platform in response to industry-wide security vulnerabilities. We continued to analyze the potential performance impact caused by the patched OS binaries and this blog post captures the detailed evaluation. As...

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

Test Drive: Trying Couchbase on Azure for Free

Test Drive: Trying Couchbase on Azure for Free

Test Drive is an Azure feature that allows you to try out software in the cloud for free. Previously, I wrote about how Getting started with Couchbase on Azure is easy and free. That post told you how to get...

January 9, 2018
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...

Speculative Execution Vulnerabilities – Meltdown & Spectre

Speculative Execution Vulnerabilities – Meltdown & Spectre

On Jan 3, 2018, Google’s Project Zero team along with several other university researchers identified several security issues with speculative execution, an optimization technique used in microprocessors to improve performance. Couchbase is aware of the recently disclosed class of processor/OS...

FTS With Facets in Couchbase NoSQL With Node.js

FTS With Facets in Couchbase NoSQL With Node.js

Earlier this month I had written about using facets with Full Text Search (FTS), a subject that is often considered scary. In this previous tutorial we had configured an FTS index and a sample application with the premise of being...

How to Query Array Collections in Couchbase Lite

How to Query Array Collections in Couchbase Lite

One of the major features introduced in Couchbase Lite 2.0, is the new Query interface based on N1QL, Couchbase’s declarative query language that extends SQL for JSON. If you are familiar with SQL, you will feel right at home with...