Category: Application Design

Advanced Filtering with XDCR 6.5
Customers use XDCR for various use cases from high availability to data locality to disaster recovery to cloud migration and hybrid cloud deployments. To meet these use cases, there are a number of circumstances where they would want to replicate...

Intro to Collections – Dev Preview in Couchbase Server 6.5
Couchbase, a document database, allows great flexibility in storing different types of documents in a single bucket (bucket being the equivalent of a database). There is a frequent need to refer to documents of a similar type together e.g. an...

Cost Based Optimizer for Couchbase N1QL (SQL for JSON)
Authors & Engineering Team: Bingjie Miao, Keshav Murthy, Marco Greco, Prathibha Bisarahalli. Couchbase, Inc. A rule-based optimizer knows rules for everything and cost for nothing – Oscar Wilde Abstract Couchbase is a distributed JSON database. It provides distributed data processing,...

Managing Couchbase Users via Groups in 6.5
In large organizations, management of security across the enterprise becomes more and more challenging as the number of apps and users grow. Having a role based access control model enables you to fine control what users get access to. However,...

Customer 360 – Part 3 – Mobile Integration
We’ve done a high-level overview of what’s involved in building a Customer 360 solution on Couchbase and all the thinking involved here… Then dug into the integration part of bringing in data from disparate sources and combining them in Couchbase,...

Build autocomplete or typeAhead using Full Text Search
What is Autocomplete vs Type Ahead? Autocomplete as the wikipedia says “Autocomplete, or word completion, is a feature in which an application predicts the rest of a word a user is typing” It is also known as Suggestions or Type...

Cipher Suites in Couchbase Server 6.5
For many, “Cryptography” is the little green lock icon next to the web address of their favorite websites, and for others, they might recall the TLS vulnerabilities that have hit in recent years. Data is today’s digital gold, and in...

Customer 360 – Part 2 – Data Ingestion
So, we already took a high-level look at what’s involved in building a Customer 360 solution on Couchbase here. That’s right, it involved a lot of thinking. Sorry, no way around that. Ya gotta think, can’t be one of the...

Thinking About Customer 360
Customer 360. Or, as one of our competitors (who shall remain nameless, but uses a Birch leaf as their logo) calls it, Single View. Everyone wants it. Everyone needs it. After all, most of your customer data is stored in...

How to use N1QL to migrate Oracle data into Couchbase
Getting the Couchbase server to run on your PC or Mac involves a few simple steps to download the software and spin up a cluster with all the Couchbase services that you need (https://docs.couchbase.com/server/6.0/getting-started/start-here.html). Sample buckets are available with the...

Build a Diary Web Application with Couchbase as the Back-end
Michael Aboagye is a backend software/security engineer based in Ghana. He is interested in building secure backend services with Python. In this tutorial, we will look at how we can build a diary web application based on the flask framework...

The Unreasonable Effectiveness of SQL in NoSQL Databases
Business applications have requirements: take customer orders, deliver customer orders, track shipping, generate inventory report, end of the day/month/quarter business report, generate business dashboards and more. These requirements evolve slowly. They remain even when you choose a NoSQL database. On...