I am quite new to redis and try to learn and explore the structure and architecture of redis.
Before version 2.4, there was Virtual Memory option available in redis by which one could swap the lesser used values to the disk, and from the disk whenever needed. Only hotspot data(frequently used) was kept in main memory.
But now as there is no option like Virtual Memory, how does redis deals with the scenario when the maximum space allocated to it gets filled up fully ?
How it removes data from the main memory, using which algorithm/process ? Can we write the data which is rarely used to disk without using Virtual Memory ?