Cassandra Database Crash Course

  Рет қаралды 26,392

Code with Irtiza

Code with Irtiza

Күн бұрын

In this video, I will go over the basics of one of the most popular NoSQL databases, Cassandra. Cassandra is an always available, distributed, NoSQL database.
At first I will go over the features of Cassandra. From there, we are going to dive deeper and see how a read and write path works in Cassandra. Finally, we are going to go over how to design data models in Cassandra effectively. Then, we will wrap up with some good use cases of Cassandra.
I talk about all the different features of Cassandra and how they are beneficial. It’s a good introduction to Cassandra, if you want to use this database in your next application.
Here are some good resources that I wrote that will help you understand Cassandra better:
[Why are Cassandra writes so fast](blog.devgenius.io/why-writes-...)
[How does Cassandra Tombstones work](blog.devgenius.io/cassandra-t...)
[Cassandra Data Models](levelup.gitconnected.com/desi...)
[Cassandra Partition Keys vs Clustering Keys](blog.devgenius.io/cassandra-p...)
Cassandra official docs
[Cassandra Docs](cassandra.apache.org/_/index....)
#cassandra #database
Visit me in: irtizahafiz.com
Reach me at: irtizahafiz9@gmail.com
Instagram: / irtiza.hafiz

Пікірлер: 28
@serbanherlea5755
@serbanherlea5755 18 күн бұрын
I link this video to anyone who is beginning with Cassandra. You have the most clear and concise explanations available online. Thank you very much for your work!
@haneulkk
@haneulkk 11 ай бұрын
It was so easy to understand! Thank you!
@tianqizhang1573
@tianqizhang1573 10 ай бұрын
Great explanation, easy to understand!
@10yearsago84
@10yearsago84 5 ай бұрын
Really loved the explanation !!
@letsCherishCoding
@letsCherishCoding 11 ай бұрын
Amazing explanation!!
@brianpack369
@brianpack369 10 ай бұрын
I am now on course to crash a Cassandra database.
@alaad1009
@alaad1009 10 ай бұрын
Excellent video man !
@irtizahafiz
@irtizahafiz 7 ай бұрын
Glad you liked it!
@athulraveendran75
@athulraveendran75 Ай бұрын
Great explanation ❤
@motazhejaze38
@motazhejaze38 2 ай бұрын
many thanks
@dineshkuruba1880
@dineshkuruba1880 Жыл бұрын
great video, please do a video on how the data is stored on disk with different column families
@irtizahafiz
@irtizahafiz Жыл бұрын
Good idea. I will!
@josedamianjimenezn8892
@josedamianjimenezn8892 10 ай бұрын
Very clear your explanation!, Now I can see that cassandra is a good option to consider as DB in my project, thanks a lot for this useful content!
@irtizahafiz
@irtizahafiz 7 ай бұрын
Glad this helped you come to that conclusion.
@mpaltanwale
@mpaltanwale Жыл бұрын
Commitlog is on disk and not in memory, if you want to make correction in the video.
@irtizahafiz
@irtizahafiz Жыл бұрын
Uggh, yeah that's right. Thank you for correcting.
@Khushboo1811
@Khushboo1811 Жыл бұрын
@@irtizahafiz And sequential writes to disk are very fast, that's why even if CommitLog is not in memory, writes are still very fast
@rajesh4361
@rajesh4361 5 ай бұрын
@@Khushboo1811 it actually does the bulk update to Disk..every 10seconds if i am not wrong.
@h.mantri
@h.mantri Ай бұрын
When the data is still in Memtable and not yet sent to SSTable and server crashes (or say power goes off), we loose data right? What happens in those cases? Any way to recover data?
@fifamobile-xx2ef
@fifamobile-xx2ef Ай бұрын
first written to the commit log to prevent data loss in the event of a failure. And i'm working on ScyllaDB; So if i know something let you know
@Sverdiyev
@Sverdiyev 25 күн бұрын
I’ve also wondered about that. But it seems that the commit log is on disk, similar to WAL. So it would rebuilt from that. The more interesting question here is conflict resolution between the nodes in case of conflicting writes and how is the data replicated between the nodes. Classic distributed system issues it seems.
@ankita.mantrii
@ankita.mantrii 25 күн бұрын
@@Sverdiyev If commit log were on disk, it would defeat the original statement that "cassandra writes are fast since they are written to in-memory commit logs"
@onyedikachioko7174
@onyedikachioko7174 2 жыл бұрын
Is a distributed database all you need for a system to be distributed?
@irtizahafiz
@irtizahafiz 2 жыл бұрын
I think you can use the term in this case, yes.
@Entertainment_Zone2522
@Entertainment_Zone2522 Жыл бұрын
Bro can you please make video on zipkin traces Store in Cassandra database
@irtizahafiz
@irtizahafiz Жыл бұрын
Added to my backlog. Thanks for the idea!
@catalinim4227
@catalinim4227 Жыл бұрын
multiple players with the same name with the same club? ... 😵‍💫what?
@irtizahafiz
@irtizahafiz Жыл бұрын
That analogy fell apart very quickly LOL. But hopefully you get an idea of how the different keys work.
What are Time Series Databases?
16:49
Code with Irtiza
Рет қаралды 13 М.
Partitioning Key vs Clustering Keys in Cassandra | Cassandra Fundamentals
24:02
Homemade Professional Spy Trick To Unlock A Phone 🔍
00:55
Crafty Champions
Рет қаралды 58 МЛН
How Discord Stores Trillions of Messages | Deep Dive
1:08:33
Hussein Nasser
Рет қаралды 173 М.
Crash Course | Introduction to Cassandra for Developers
1:09:34
DataStax Developers
Рет қаралды 24 М.
Top 5 Redis Use Cases
6:28
ByteByteGo
Рет қаралды 167 М.
01 | Intro to Cassandra - Cassandra Fundamentals
12:42
DataStax Developers
Рет қаралды 88 М.
How do NoSQL databases work? Simply Explained!
7:38
Simply Explained
Рет қаралды 1 МЛН
Введение в Cassandra
31:17
Интабия
Рет қаралды 6 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 333 М.