We have seen about page faults in few of the previous articles. In this article we will be looking at two different kind of page faults that can happen. So lets have a look at major and minor page faults. TLDR – Minor page faults occurs when the page is present in the memory but
Tag: memory management
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
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?
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