Home / Companies / DataStax / Blog / Post Details
Content Deep Dive

Off-heap memtables in Cassandra 2.1

Blog post from DataStax

Post Details
Company
Date Published
Author
Jonathan Ellis
Word Count
191
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

The text discusses the importance of moving data structures off the Java heap to native memory due to increasing dataset sizes and limitations on JVM heap size. In Cassandra 2.1, improvements are made to reduce the footprint of memtables with a new configuration option called `memtable_allocation_type`. Two options are provided: `heap_buffers` (default) and `offheap_objects`, which is expected to become the default in version 3.0. Laboratory tests show that enabling `offheap_objects` results in approximately 5% faster writes due to less frequent flushing, leading to larger SSTables and reduced compaction needs. Reads remain unchanged but may vary under different workloads. Future enhancements are planned to better test the performance of memtables with more demanding scenarios.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.