~/talk

Anti-Patterns with Apache Cassandra

Talkat Cassandra Summit 2023 · on Tuesday, 2023-12-12· at 10:30· LL20C (Lower Lobby Level)· [databases]
links:none on file
links:none on file
slides:none on file

Cassandra clusters suffer two concrete anti-patterns: creating huge numbers of tables and growing oversized partitions. Table metadata consumes about ~1 MB heap per table, many small memtables trigger shared flush bottlenecks (default 2 flush writer threads), and load tests show p999 latency falls as table count drops; recommendation is to keep tables under 200. Partitions should stay under ~10 MB, avoid collections >64 KB, offload large payloads to object or memory stores, and validate with cassandra-stress, noSQLBench or Locust and virtual table stats.

AI-written summary · about

  1. 0:00Cassandra anti-patterns intro
  2. 1:47Performance issues in Cassandra
  3. 3:53Too many tables anti-pattern
  4. 8:27How many tables are too many
  5. 12:20Designing with fewer tables
  6. 12:59Large partitions anti-pattern
  7. 16:30Case studies: large partitions
  8. 18:59Partition and table design tips
  9. 21:05Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.