Insights and perspectives to keep you updated.

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

Apache Spark: Handle Corrupt/Bad Records

Reading Time: 3 minutes Most of the time writing ETL jobs becomes very expensive when it comes to handling corrupt records. And in such cases, ETL pipelines need a good solution to handle corrupted records. Because, larger the ETL pipeline is, the more complex it becomes to handle such bad records in between. Corrupt data includes: Missing information Incomplete information Schema mismatch Differing formats or data types Apache Spark: Continue Reading

Custom Implementation of Blockchain In Rust(Part 2)

Reading Time: 2 minutes Hello Everyone, in the previous blog, we talked about blockchain, what is block and its content. we also implemented a sample Blockchain application using Rust.In this blog, we will continue working with our sample blockchain application and talk about blockchain validation and its mining process. Blockchain Validation Why do we need blockchain validation? Because we have to ensure that no one can tamper any data Continue Reading

Ip6tables firewall

Reading Time: 4 minutes Hello readers, this blog will teach you about ip6tables and its use with some basic use cases.we will also see that how ip6tables different from iptables. what is iptables?  Iptables is a Linux command line firewall that allows system administrators to manage incoming and outgoing traffic via a set of configurable table rules. iptable vs ip6tables Ip6tables is used to set up, maintain, and inspect the tables Continue Reading

Create Jinja templates in Python Script

Reading Time: 2 minutes Hi readers, In this blog, we will be looking at creating Jinja templates and passing variables in them using python script also how to use them for creating dynamic pages. Jinja as templating engine Jinja2 is a full-featured template engine for Python. Jinja is similar to the Django template engine but provides Python-like expressions while ensuring that the evaluation of templates is in a sandbox. Continue Reading

Deploying Elasticsearch on Kubernetes

Reading Time: 3 minutes Hello guys, in this article, we will be looking how to deploy Elasticsearch cluster on Kubernetes on a cluster setup on Google Kubernetes Engine. We will be following these steps given below to successfully deploy Elasticsearch on Kubernetes:1. Setup Persistant Volume via Storage Classes2. Enable node discovery for Elasticsearch through Headless Service3. Deploy Elasticsearch cluster using StatefulSet Prerequisites Cluster setup on Google Kubernetes Engine with Continue Reading

protecting sensitive data in docker

Docker Build Caching: Basics

Reading Time: 3 minutes Packaging can often be slow and Docker builds are no exception. Downloading and installing system and Python packages, compiling C extensions, building assets—it all adds up. In order to speed up your builds, Docker implements caching: if your Dockerfile and related files haven’t changed, a rebuild can reuse some of the existing layers in your local image cache. With regard to Docker itself, using it on Continue Reading

Creating Custom Daemons in Linux

Reading Time: 3 minutes Hello readers, in this blog we will be looking at what are daemons and how can we create a custom daemons in our systems. Daemon is called as a type of program which quietly runs in the background rather than under the direct control of a user. It means that a daemon does not interact with the user. Systemd Management of daemons is done using systemd. It is 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

Introduction to Logging in R using log4r

Reading Time: 3 minutes One of the most important aspect of an application is Logging. Since logs provide visibility into the behavior of a running app. Hence logs play a vital role in maintenance and enhancement of an application. However, most of us are already aware with the importance of logging. That’s why we add them in our applications. But one thing that we are not aware of is Continue Reading

Persistent Entity in Lagom

Reading Time: 4 minutes Lagom is an open source framework for building systems of Reactive microservices in Java or Scala. It is build on Akka and Play. It has a concept of persistent entity and in this blog, we will learn about persistent entity in Lagom in detail. First of all, before reading about persistent entity it would be better if you have some knowledge about Event Sourcing and Continue Reading

Parsing database Query with Apache Calcite

Reading Time: 3 minutes Hey there, as a technical person sometimes we have to write the query of database and that looks good but we don’t know the query we wrote was syntactically correct or not. So in this blog, we parse the database query and test it using a test case with the help of Apache Calcite. So not wasting any time lets discuss about Apache Calcite and Continue Reading