Swap Memory, when and when not to use.

Swap Memory, when and when not to use.


Swap memory, also known as swap space, is a feature in computer systems that acts as an extension of physical RAM (Random Access Memory). It comes into play when RAM becomes full and the system needs additional space to store and manage running processes. Here’s a breakdown of how swap memory works: RAM Priority: Physical

Swap memory and how it affects your latencies.

Swap memory and how it affects your latencies.


When you work with Linux and memory you must have heard the term swap memory. In this article, we are going to see how swap memory affects the latencies of your system, and should you keep them or not? What is a swap memory? It is a memory space that is made available separately to

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