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

Updates to Cassandra’s Commit Log in 2.2

Blog post from DataStax

Post Details
Company
Date Published
Author
Branimir Lambov
Word Count
695
Company Posts That Month
10
Language
English
Hacker News Points
-
Post removed?
No
Summary

The commit log implementation of Apache Cassandra has been significantly improved in version 2.1, with multithreaded and memory-mapped writing reducing log overheads and improving throughput. In version 2.2, compression was added to the commit log, further enhancing performance by reducing disk transfer and space requirements at the expense of additional CPU processing. The segment reuse feature has been removed in this version to reduce page cache pressure and improve real-world log performance. Compression is configured using the commitlog_compression parameter in cassandra.yaml, with LZ4Compressor recommended for its reasonable compression rates and high throughput. In testing, compression resulted in a 6-12% improvement in write performance and smoother operation under heavy writes.

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.