From: Salvatore Sanfilippo <anti...@gmail.com>
Date: Tue, 10 Nov 2009 18:35:12 +0100
Local: Tues, Nov 10 2009 12:35 pm
Subject: Lazy expiring algorithm enhanced
Hello all,
just pushed on git a small change with big effects. As some of you Of course this is not enough as there are expired keys that will never And after this background let's explain what changed. In the past The new algorithm instead does the following, every second. a) Test 100 random keys for expired keys. This is a trivial probabilistic algorithm, basically the assumption is This means that into a given moment the maximum amount of keys already max_expired_keys_still_in_RAM = max_SET_operations_per_second / 4 That is absolutely acceptable. So if you experienced problems with memory usage using Redis as a Cheers, -- "Once you have something that grows faster than education grows, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||