Off-heap and On-heap

在Cassandra的 system log中看到如下的log:

INFO  07:17:18 Enqueuing flush of Standard1: 701845360 (33%) on-heap, 0 (0%) off-heap
INFO  07:17:19 Writing Memtable-Standard1@899461901(205333260 serialized bytes, 4666665 ops, 33%/0% of on/off-heap limit)

 对其中的 off-heap 非常好奇,在一些 blog1,2 中知道这是在Cassandra 2.1 中新加的 feature。

 

参考:
1, Off-heap memtables in Cassandra 2.1

2, Cassandra 2.1: now over 50% faster

3, Off-Heap Memory

4, cassandra component on heap or off heap

posted @ 2014-12-11 16:21  AlfredChen  阅读(413)  评论(0编辑  收藏  举报