Recently while working with one of the databases I came across a method that is widely used by many databases to take a snapshot of the memory into a disk. One of the most famous that you have heard of is Redis. The method is called copy on write. Let’s see what is a copy
Hi everyone in our last post we talked about Redis monitoring using Prometheus and Grafana. When I posted this on a few forums I got a suggestion that I should write about key metrics to watch while monitoring Redis. So let’s start the article Key metrics to monitor in Redis and optimization settings. Below are
We have seen in one of the past articles about Redis clustering and how we can take backup and restore it. In this, we are going to see how we can monitor Redis nodes using Prometheus and Grafana. If you don’t know about Prometheus and Grafana read about it here. Now let’s see how we
Redis is an in-memory cache or key-value store. You can save the keys and values and access them very fast as it resides in memory. You can also persist the data in the disk as it provides an option for the same. One of the most famous ways to use Redis is its clustering mode.
In this article, we are going to start learning system programming by first of all creating a copy program like cp using low-level IO functions and not the standard IO functions. Now first let’s see what is system programming and what is low-level IO functions in C. System Programming: System programming aims at producing software
In this article, we are going to talk about a very well known method to keep things under control. This method is used in TCP when you see there are congestion and many other places. This method is called AIMD which stands for Additive Increase Multiplicative Decrease. Let’s see what it is and how it
BPF also known as Berkeley Packet Filters was introduced first in 1992 by Steven McCanne and Van Jacobson in their paper The BSD packet filter: A New architecture for user-level packet capture. In this paper, they presented about BPF architecture and how it interfaced with the rest of the system and a new mechanism for
Kubernetes is very hot right now in the industry and everyone wants to learn and use it. In this article, we will read about how Kubernetes works on a reconciler pattern. We have previously talked about the reconciler pattern and how you can use it. You can have a look at the writeup in the
In this article, we will talk about how traceroute works using ICMP. ICMP stands for Internet Control Message Protocol. This is used in the network layer just above the IP because ICMP messages are also encapsulated in IP packets. Now let’s have a look at how traceroute works using ICMP. When you type traceroute destination
Sidecar is one of the important patterns in today’s world of containerization and Kubernetes. Sidecar is a single node pattern and when we talk about a single node pattern we have another major pattern which is called ambassador pattern. In this article, we will talk about the difference between the sidecar pattern vs ambassador pattern.