Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
updating ChangeLog and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Yao Yue committed Sep 7, 2012
1 parent aa195da commit 3322624
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions 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

Expand All @@ -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>

Expand Down
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -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.

Expand Down

0 comments on commit 3322624

Please sign in to comment.