Re:How Uber Manages a Million Writes per Second
by snuxoll on Thursday November 03, 2016 @11:15AM
(#12864629)
Cassandra has an append-only log file during operation but unlike a RDBMS it's not just used for transaction replay, so you're half write. Cassandra periodically compacts the log and writes SSTable's to disk, but newer data and tombstones are stored in the log for a while which as you surmised does have a performance hit.
[ Parent
| on HN ]
Re:How Uber Manages a Million Writes per Second
by ddorian43 on Thursday November 03, 2016 @12:42PM
(#12865556)
Performance hit is not from the log though, but from having non-reading-writes (and ttls). So you have to look other versions too on disk for latest value.
I think newer data and tombstones would stay for a while in sstables, not in the log.