How to scale a Cassandra cluster with partitions to achieve minimal downtime and the lowest p99 latency? How Discord came up with a smart database architecture for all of that and much more, including sharding, database design, database migration, caching, and much more.
======⚡⚡⚡======
Consider supporting the channel by clicking the "Thanks" button ❤️
🙌 Become my Patreon and get exclusive perks: / softdevdiaries
💼 Follow me on LinkedIn and drop me a message if you'd like: / gusgadirov
💻 Also, let's connect on GitHub: https://github.com/gusgad
📚 Resources:
Original article: / discord
Cassandra data model: https://www.scylladb.com/glossary/cas...
Cassandra's best practices: https://cassandra.apache.org/doc/late...
Memtables and SSTables: https://docs.datastax.com/en/cassandr...
Tokio ecosystem: https://tokio.rs/
RAID: https://www.techtarget.com/searchstor...
p99 latency: https://www.cockroachlabs.com/blog/ge...
And don't forget to subscribe for more videos like this 😊