TimeWindowCompactionStrategy (TWCS)

The successor to DTCS – This compaction strategy compacts SSTables based on series of time windows. During the current time window, the SSTables are compacted into one or more SSTables. At the end of the current time window, all SSTables are compacted into a single larger SSTable. Then the next time window starts and the compaction process repeats. Each TWCS time window contains data within a specified range and contains varying amounts of data.