9
9
介紹
10
10
========================================
11
11
12
- * LRU cache (Least Recently Used)
13
- * Adaptive Replacement Cache
14
- * Low Inter-reference Recency Set
15
- * Window TinyLfu
12
+ * LRU (Least Recently Used)
13
+ * LFU (Least Frequently Used)
14
+ * LRFU (LRU + LFU)
15
+ * ARC (Adaptive Replacement Cache)
16
+ * LIRS (Low Inter-reference Recency Set)
17
+ * W-TinyLFU (Window TinyLFU)
16
18
* Bélády's optimal
17
19
- 演算法假設能知道未來再也不會用到某值,故無法實作,可以當成 Cache 演算法的 Upper Bound
18
20
@@ -33,37 +35,13 @@ O* nuances
33
35
34
36
35
37
36
- 相關實做
37
- ========================================
38
-
39
- Memcached
40
- ------------------------------
41
-
42
- :Site: https://memcached.org/
43
- :Repo: https://github.com/memcached/memcached
44
- :Language: C
45
-
46
-
47
- 預設是 LRU cache
48
-
49
-
50
- Redis
51
- ------------------------------
52
-
53
- :Site: http://redis.io/
54
- :Repo: https://github.com/antirez/redis/
55
- :Language: C
56
-
57
-
58
- 可以想像為功能更複雜的 Memcached
59
-
60
-
61
-
62
38
參考
63
39
========================================
64
40
41
+ * `Wikipedia - Cache replacement policies <https://en.wikipedia.org/wiki/Cache_replacement_policies >`_
42
+ * `Wikipedia - Page replacement algorithm <https://en.wikipedia.org/wiki/Page_replacement_algorithm >`_
65
43
* `Why Intel Added Cache Allocation Technology in Broadwell <http://danluu.com/intel-cat/ >`_
66
44
* `Cache is the new RAM <http://carlos.bueno.org/2014/11/cache.html >`_
67
45
* `Cache Efficiency <https://github.com/ben-manes/caffeine/wiki/Efficiency >`_
68
46
* `Wikipedia - Cache algorithms <https://en.wikipedia.org/wiki/Cache_algorithms >`_
69
- * [2014 ] `TinyLFU: A Highly Efficient Cache Admission Policy <http ://www.cs.technion.ac.il/~gilga/TinyLFU_PDP2014.pdf >`_
47
+ * [2015 ] `TinyLFU: A Highly Efficient Cache Admission Policy <https ://arxiv.org/abs/1512.00727 >`_
0 commit comments