Log parsing in python using regular expressions.Log parsing in python using regular expressions.

Log parsing in python using regular expressions.


Log parsing is a very basic problem for DevOps and SREs and we have a post on this regarding log parsing. You can find the post here In the earlier post, I have not used regex and have used only string manipulations to parse the logs. What is a regular expression? Regular expressions are a

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