Database

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: Let’s run the spring boot application: How to download Continue Reading

Let’s create your first Grafana dashboard

Reading Time: 4 minutes In my previous blog, we discussed the setup of Grafana-Graphite for JMX monitoring.  Now we will create a first Grafana dashboard where we will create Grafana queries to visualize JMX metrics stored in Graphite. As we know, Grafana UI runs on http://localhost:3000/ by default so let’s open the URL in the browser with the default username and password which is admin: admin After login either Continue Reading

Dockerizing a NodeJS app with Redis

Reading Time: 2 minutes Hi folks, in this blog I would walk you through how can we seamlessly dockerize a NodeJS app along with redis, So as we know that docker is a pretty decent way of streamlining and making the process of deployment easier, efficient and pluggable, so let’s gets started but before that, the prerequisite for the blog is a basic understanding of docker

Tuning consistency with Apache Cassandra

Reading Time: 4 minutes One of the challenges faced by distributed systems is how to keep the replicas consistent with each other. Maintaining consistency requires balancing availability and partitioning. Fortunately, Apache Cassandra lets us tune this balancing according to our needs. In this blog, we are going to see how we can tune consistency levels during reads and writes to achieve faster reads and writes. Before digging more about Continue Reading

Commit Log: A commitment that Cassandra provides.

Reading Time: 5 minutes Welcome back, everyone. I have been working on Cassandra for quite some time now but never actually got to explore its working in depth. We know that its decentralized nature, as well as its ability to handle such a large volume of writes, makes it really commendable. But how does it manage to be efficient? How is it able to achieve what it is so Continue Reading

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

Firebase: RealtimeDB & Firestore

Reading Time: 2 minutes Recently, while searching for persistence solutions for one of our projects, we started considering the hosted and managed offerings on the Firebase Platform. Firebase has two primary database offerings, the original Realtime Database (RtDB) and the newer Cloud Firestore (CFS) which is currently in beta. In this post, we’ll briefly list down some of the current similarities and differences that we encountered while tinkering with 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

Cassandra Data Modeling

Reading Time: 3 minutes The goal of this blog is to explain the basic rules you should keep in mind when designing your schema for Cassandra. If you follow these rules, you’ll get pretty good performance out of the box. Let’s first discuss keys in Cassandra: Primary Key – Made by a single column. CREATE TABLE blogs ( key text PRIMARY KEY, data text ); Composite Key – Generated Continue Reading

Let’s start exploring DGraph – How to get started?

Reading Time: 5 minutes This blog is primarily aimed towards getting DGraph up and running on your local machine, create some schema in DGraph(alter), add/delete data from DGraph(mutation) and get the data from it(query). We are going to keep the blog simple, exploring each of the mentioned operation in detail in later blogs.

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!