30 ms·
The new virtual memory feature of Redis 2.0 allows you to swap data to disk and keep a minimal subset (the keyset, only values are swapped, never keys) in ram (
by gnubardt 17y ago
The new virtual memory feature of Redis 2.0 allows you to swap data to disk and keep a minimal subset (the keyset, only values are swapped, never keys) in ram (1M keys would require 160mb of memory). You could keep only the most frequently used values in ram (and the keyset) to minimize memory usage.
http://antirez.com/post/redis-virtual-memory-story.html http://antirez.com/post/redis-virtual-memory-story.html