What is Copy on Write and where is it used?

Redis bgsave taking a lot of memory. Here is the reason.


In recent times, I was working with Redis clusters which have very high throughput. While doing this we came across a problem which was Redis bgsave was taking a lot of memory sometimes almost as the same memory as the data present in the memory. In this small writeup, we will see why this happened.

What is Copy on Write and where is it used?

What is Copy on Write and where is it used?


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

Key metrics to monitor in Redis and optimization settings

Key metrics to monitor in Redis and optimization settings


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

Redis monitoring using Prometheus and Grafana

Redis monitoring using Prometheus and Grafana


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 Cluster backup and restore.

Redis Cluster backup and restore.


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.

System Programming: Basic Copy program in C using low-level IO

System Programming: Basic Copy program in C using low-level IO


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

What is eBPF and why is it called a superpower in Linux?

What is eBPF and why is it called a superpower in Linux?


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

How Kubernetes works on a reconciler pattern

How Kubernetes works on reconciler pattern.


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

Are you preparing for DevOps and SRE Interview?

Here is a book for you.


Interview preparation and interview questions for DevOps and SRE






A good reads for last-minute preparations for handling DevOps and SRE interviews at companies like LinkedIn, Visa, Atlassian, etc.