couchbase

Couchbase Disaster recovery

Couchbase High Availability and Disaster Recovery: Part 2

Reading Time: 3 minutes In our previous blog we learned about how Couchbase achieves high availability. This post will focus on understanding Couchbase Disaster Recovery mechanisms to prevent data loss. Disaster Recovery Couchbase uses the following mechanisms to prevent potential data loss due to unplanned incidents or disasters. XDCR As discussed in the previous blog, Cross-Data Center Replication (XDCR) is a technology that lets us keep entire Data Centers Continue Reading

couchbase_xdcr

Couchbase High Availability and Disaster Recovery: Part 1

Reading Time: 4 minutes Couchbase Server is an open-source, distributed, NoSQL, document-oriented engagement database. It is designed to support strong features like:– Flexible data model– Simple administration– Query and Analytics– Memory first architecture– High Availability and many more Couchbase strongly emphasizes reliability, high availability, and simple management. It aims to perform operations while the system remains online, without interrupting running applications. High Availability Focused on high availability, it leverages Continue Reading

First steps to build Spring Boot Application with Couchbase

Reading Time: 2 minutes As the name of the blog suggests, we will be taking the first steps to build a simple application from scratch using Couchbase as a database and spring -boot as a framework. Let’s get started. You can create a starter maven project using this link. Add Web, Lombok and Couchbase dependencies. The pom.xml should look like: This file contains bidirectional Unicode text that may be Continue Reading

Couchbase Java SDK – Introduction

Reading Time: 2 minutes In this blog, we will look into the various aspects like how we can manage the connection to a cluster and how we can configure the environment, CRUD operations related to document.

Lagom Persistence API with Couchbase

Reading Time: 4 minutes In this blog, I will talk about using Couchbase with Lagom’s Persistent Entity API. And then we will see how we can query for fetching the data. We already know that Lagom handles data persistence with ‘Persistent Entity’ which holds the state of individual entities. And to interact with them one must know the identifier of the entity. So Lagom provides the support to build Continue Reading

Couchbase – Lets Get Started

Reading Time: 4 minutes In this blog, we will learn about the basics of Couchbase and some facts that a developer should know about Couchbase. What is Couchbase? Couchbase is a NoSQL database having the following features – Distributed:- Couchbase is distributed in nature, data can be distributed in form of multiple copies at different data center. Document-Oriented:- It stores keys and values as JSON documents. Flexible Data Model:- Continue Reading

CAP Theorem for the distributed systems

Reading Time: 4 minutes A few days back I completed the certification for the 1st course of the Lightbend Reactive Architecture Advanced i.e. Building Scalable Systems. I found this course very helpful and informative to get the idea of Reactive architecture. So if you have not started yet, please go there and lets become reactive. There are few foundational courses as well to build the foundation of reactive architecture. Continue Reading

Distributed Transactions and Saga Patterns

Reading Time: 6 minutes In a Knolx session organized by Knoldus, we discussed the idea of following Saga Patterns. For that to be more accessible, I’d like to share the session with the help of this blog. Service-oriented architecture has given us enough advantages to be a predominant architecture in our Industry, but it can’t be all sunshine and rainbows. There are use cases where monoliths are not only Continue Reading

Scala, Couchbase, Spark and Akka-http: A combinatory tutorial for starters

Reading Time: 5 minutes Couchbase and Apache Spark are best so far , for the in-memory computation. I am using akka-http because its new in the business. If you are not a big fan of akka-http and don’t think it is yet ready for production then you can take a look on this blog, which displays how to do the same task using Spray. If you are new to all Continue Reading

Transfering Data from Couchbase to the ElasticSearch (Transport-Couchbase Plugin)

Reading Time: 3 minutes If we want to transfer the data persisted in your Couchbase to ElasticSearch and use the power of inverted indexing of Elastic Search along with Couchbase. Then we can do this in easy steps. Couchbase provides us a plugin for the Elastic search that makes your ElasticSearch node appear like a Couchbase Server node. After installation you can use the Cross-Datacenter Replication (XDCR) feature of Continue Reading