Skip to content
Browse files

updating ChangeLog and README.md

  • Loading branch information...
1 parent aa195da commit 33226247d45e1ef0868b925a3759d046c560987c @thinkingfish thinkingfish committed
Showing with 6 additions and 4 deletions.
  1. +4 −3 ChangeLog
  2. +2 −1 README.md
View
7 ChangeLog
@@ -1,8 +1,9 @@
2012-09-06 Cache Team <cache-team@twitter.com>
* twemcache: version 2.5.1 release
* Feature: slab LRC eviction (-M 8), designed for write through cases
- * Feature: auto klog ratation support, reopen after size reaches 1GB
- klog is turned on if a filename is given at start time
+ * Feature: auto klog rotation support, reopen after size reaches 1GB
+ klog is turned on if a filename is given at start time
+ * Feature: Backporting fixed size (-e) hash feature from memcached 1.4.8
* Cleanup: data flags and data length now stored as part of item header
* Misc: updated TODO list
@@ -12,7 +13,7 @@
multiple eviction strategies can now be stacked
* Fix: fix logical error of code and remove meaningless code (monadbobo)
* Misc: new notes, updated TODO list
- add twctop README
+ add twctop README
2012-07-10 Cache Team <cache-team@twitter.com>
View
3 README.md
@@ -101,7 +101,8 @@ Eviction is triggered when a cache reaches full memory capacity. This happens wh
* No eviction (0) - don't evict, respond with server error reply.
* Item LRU eviction (1) - evict only existing items in the same slab class, least recently updated first; essentially a per-slabclass LRU eviction.
* Random eviction (2) - evict all items from a randomly chosen slab.
-* Slab LRU eviction (4) - choose the least recently updated slab, and evict all items from it to reuse the slab.
+* Slab LRA eviction (4) - choose the least recently accessed slab, and evict all items from it to reuse the slab.
+* Slab LRC eviction (8) - choose the least recently created slab, and evict all items from it to reuse the slab. Eviction ignores freeq & lruq to make sure the eviction follows the timestamp closely. Recommended if cache is updated on the write path.
Eviction strategies can be *stacked*, in the order of higher to lower bit. For example, `-M 5` means that if slab LRU eviciton fails, Twemcache will try item LRU eviction.

0 comments on commit 3322624

Please sign in to comment.
Something went wrong with that request. Please try again.