Skip to content

57. Apache Cassandra, часть 2: как работает запись.

December 1, 2025 · 2 h 33 min

Show notes

Вторая часть про Кассандру. Разбираемся в том, как работает запись данных. В гостях Дима Константинов.

Первая часть: https://t.me/tfeat/145

--

Доклад про процесс записи в Cassandra: https://www.youtube.com/watch?v=-bKciMy6mOU&list=PLK4DgKoWPVSLEwmNu0oQt4SsnYgrs2Qey&index=2

Доклад про устройство Netty: https://www.youtube.com/watch?v=NvnOg6g4114

Netty нативная реализация TCP epoll: https://netty.io/wiki/native-transports.html

Управление перегрузкой TCP:

https://en.wikipedia.org/wiki/TCP_congestion_control

Те же идеи на уровне приложения: https://netflixtechblog.medium.com/performance-under-load-3e6fa9a60581

Обзор алгоритмов consistent/stable hashing: https://dgryski.medium.com/consistent-hashing-algorithmic-tradeoffs-ef6b8e2fcae8

Trie memtable

https://www.vldb.org/pvldb/vol15/p3359-lambov.pdf

https://www.youtube.com/watch?v=eKxj6s4vzmI

B-trees в памяти, заметки от ScyllaDB разработчиков: https://www.scylladb.com/2021/11/23/the-taming-of-the-b-trees/

Unified compaction strategy:

https://www.youtube.com/watch?v=dWvJg1XGf-o

Аналог CAP теоремы для логики хранения данных - RUM: http://daslab.seas.harvard.edu/rum-conjecture/

--

Телеграмм канал подкаста Тысяча фичей https://t.me/tfeat

Почта автора

[email protected]

All episodes of Тысяча фичей

Settings

Display

Language

Decides which stations you see first on the home page.

History

Recently played stations and episodes and your latest searches are only stored in this browser.

Notifications

A short notice when a podcast you follow has a new episode. Turn off single podcasts with the bell on their page.

Account

Save favorites – in the app and on the website.

Keyboard shortcuts

/
Open search
Space
Play or pause
← →
In the player: back 15 s, forward 30 s (episodes) · in a row: next tile
↑ ↓
In a row: target within the tile
Home / End
In a row: first or last tile
Esc
Close window or menu
?
This overview
Now playing

Go to station page

Play next

    Add episodes with “Play next” – they play after the current episode.