Tech Blogs

Knoldus-corona-virus

MachineX: Analysing COVID-19 Pandemic

Reading Time: 5 minutes Introduction COVID-19 disease, caused by the SARS-CoV-2 virus, was identified in December 2019 in China and declared a global pandemic by the WHO(World Health Organization) on 11 March 2020. The disease first originated in Wuhan, China and since then it has spread globally across the world affecting more than 200 countries. Coronavirus disease 2019 (COVID-19) is a highly infectious disease caused by the severe acute respiratory syndrome. The Number 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

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

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

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

What’s new with Process API in JAVA 9?

Reading Time: 4 minutes With the introduction of Java 9, various improvements have been made in the Process API. Process API in Java 9 version helps to manage and control operating system processes. In Java 8 and earlier versions, the API lacks some key functionality, which makes handling processes in Java a mess. The limitations of the API often force developers to resort to native code in earlier Java Continue Reading

How to handle URL Encoded Form Data in Spring REST?

Reading Time: 3 minutes Sometimes, our REST endpoint needs to consume data in the form of application/x-www-form-urlencoded or using multipart/form-data. The source of this data can probably be an HTML form. Now, the first question which should come to our mind is, what is exactly this application/x-www-form-urlencoded or using multipart/form-data and how can we let our spring application consume this. This blog will help you to find answers to Continue Reading

Parse database query with JSQL Parser

Reading Time: 3 minutes Hi guys, as we discussed in the previous blog that is about parsing the database query, it is also an alternative for parsing the SQL queries. So write the query of database and that looks good to you but you don’t know the query you wrote was syntactically correct or not. In this blog, we parse the database query and test it using a test Continue Reading