Slides from my talk at Cassandra Summit 2015
http://cassandrasummit-datastax.com/agenda/steady-state-data-size-with-compaction-tombstones-and-ttl/
thelastpickle.com
Project Based Learning (A.I).pptx detail explanation
Cassandra sf 2015 - Steady State Data Size With Compaction, Tombstones, and TTL
1. Licensed under a Creative Commons Attribution-NonCommercial 3.0 New Zealand License
CASSANDRA SF 2015
STEADY STATE DATA SIZE WITH
COMPACTION,TOMBSTONES,
AND TTL
Licensed under a Creative Commons Attribution-NonCommercial 3.0 New Zealand License
Aaron Morton
@aaronmorton
Co-Founder &Team Member
2. AboutThe Last Pickle.
Work with clients to deliver and
improve Apache Cassandra based
solutions.
Based in New Zealand, USA,
Australia.
17. Tombstone (For A Cell)
public class BufferDeletedCell extends BufferCell implements
DeletedCell
{
public BufferDeletedCell(CellName name, int localDeletionTime,
long timestamp)
{
this(name, ByteBufferUtil.bytes(localDeletionTime),
timestamp);
}
}
19. Tombstone (For A Partition)
public class DeletionInfo implements IMeasurableMemory
{
public DeletionInfo(long markedForDeleteAt, int
localDeletionTime)
{
…
}
}
20. Tombstone (For A Range)
public class RangeTombstone extends Interval<Composite,
DeletionTime> implements OnDiskAtom
{
public RangeTombstone(Composite start, Composite stop, long
markedForDeleteAt, int localDeletionTime)
{
…
}
}
21. TTL
public class BufferExpiringCell extends BufferCell
implements ExpiringCell
{
private final int localExpirationTime;
private final int timeToLive;
…
}
59. Licensed under a Creative Commons Attribution-NonCommercial 3.0 New Zealand License
Aaron Morton
@aaronmorton
Co-Founder &Team Member
www.thelastpickle.com
Licensed under a Creative Commons Attribution-NonCommercial 3.0 New Zealand License