Cassandra in 100 Seconds
Key Takeaways
This video introduces Apache Cassandra, a wide-column store NoSQL database designed to scale globally with extreme speed and reliability
Full Transcript
[Music] cassandra a wide column store nosql database famous for its ability to distribute petabytes of data with unmatched reliability and performance it was created in 2008 by avinash lakshman who was responsible for scaling facebook's inbox search feature by 2010 it became a top-level apache project and today is used at scale by big companies like apple which manages a staggering 100 petabytes of data across hundreds of thousands of server instances it's a general purpose database with use cases for e-commerce content management audit logging and everything in between each instance of cassandra is called a node and typically stores about two terabytes of data what makes it special though is that nodes can be easily distributed to scale horizontally every node has the same read write capabilities of another node but is responsible for its own partition of data nodes are grouped together in a cluster or ring and data is typically replicated on multiple nodes which means no single point of failure and 100 uptime the data is wrapped in a key space giving developers control over how it replicates in the cluster each key space contains one or more tables which represent tabular data like you might find in a relational database however it's schema-less and can handle unstructured data which developers can manage with the cassandra query language the easiest way to get started is by creating a free serverless database with astra it deploys to the cloud of your choice then scales automatically on demand first we'll need to define a key space which acts as a container for replication next we'll need to connect to the database which can be accomplished in a variety of ways it has sdks for major languages and a tool called stargate that makes data accessible via ras graphql and grpc or you can execute raw cql code which is a subset of sql create a table and include a primary key to uniquely identify every row then each column will have its own name and data type now add data to that table with the insert into statement then you select to read data from the table it's also possible to use the where clause to filter and query the data but an index will be required on the column on the surface this may look a lot like a relational database but it doesn't support joins and that's by design instead of modeling data into small normalized tables in cassandra it's denormalized to match the structure of known queries making reads much faster at scale and it's also possible to implement storage attached indexing to handle complex relational queries this has been cassandra in 100 seconds let me know if you want to see a full tutorial in the comments thanks for watching and i will see you in the next one
Original Description
Apache Cassandra is a wide-column store NoSQL database designed to scale globally with extreme speed and reliability. Try it out for free with the serverless AstraDB http://astra.dev/cass100sec
#programming #database #100SecondOfCode
🔗 Resources
Use Cassandra with Astra http://astra.dev/cass100sec
Cassandra Docs https://cassandra.apache.org/doc/latest/
Related Databases:
SQL in 100 Seconds https://youtu.be/zsjvFFKOm3c
Redis in 100 Seconds https://youtu.be/G1rOthIU-uo
🔥 Get More Content - Upgrade to PRO
Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- What is Apache Cassandra ?
- SQL vs NoSQL
- Cassandra vs SQL
- Is Cassandra a good database?
- What is Cassandra used for?
- When was Cassandra created?
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Fireship · Fireship · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Angular 4 Development and Production Environments with Firebase
Fireship
OAuth with Angular and Firebase Tutorial
Fireship
Anonymous Authentication with Angular and Firebase - Lazy Registration
Fireship
Angular Router Guards for Firebase Users
Fireship
Angular Firebase CRUD App with NoSQL Database Tutorial
Fireship
Upload Files from Angular to Firebase Storage
Fireship
How to Deploy an Angular App to Firebase Hosting
Fireship
Sharing Data between Components in Angular
Fireship
Loading Spinners for Asynchronous Firebase Data
Fireship
Angular 4 Transactional Email with Google Firebase Cloud Functions
Fireship
Firebase Database Rules Tutorial
Fireship
Autocomplete Search with Angular4 and Firebase
Fireship
Reddit Inspired Upvoting System with Angular and Firebase NoSQL
Fireship
Angular Drag-and-Drop File Uploads to Firebase Storage
Fireship
Text Translation with Firebase Cloud Functions onWrite and Angular 4
Fireship
Custom Usernames with Firebase Authentication
Fireship
Twitter-Inspired Follow Unfollow Feature with Firebase and Angular 4
Fireship
Simple Pagination with Firebase and Angular 4
Fireship
How to Connect Firebase Users to their Data - 3 Methods
Fireship
Add Toast Message Notifications to your Angular App
Fireship
Facebook-Inspired Reactions System with Angular and Firebase
Fireship
Learn NgModule in Angular with Examples
Fireship
Lazy Loading Components in Angular 4
Fireship
Stripe Checkout Payments with Angular and Firebase - Part 1
Fireship
Process Stripe Payments with Firebase Cloud Functions - Part 2
Fireship
Selling Digital Content in Angular with Stripe Payments - Part 3
Fireship
Angular 4 Full Text Search with Algolia - Part 1
Fireship
Algolia with Firebase Cloud Functions - Part 2
Fireship
Firebase Phone Authentication in Angular 4
Fireship
Top 7 RxJS Concepts for Angular Developers
Fireship
Learn Angular Animations with 5 Examples
Fireship
Advanced Firebase Data Filtering (Multi-Property)
Fireship
Realtime Maps with Mapbox + Firebase + Angular
Fireship
Angular Reactive Forms with Firebase Database Backend
Fireship
Send Push Notifications in Angular with Firebase Cloud Messaging
Fireship
Top 7 Ways to Debug Angular 4 Apps
Fireship
Infinite Scroll with Angular and Firebase
Fireship
Use TypeScript with Firebase Cloud Functions
Fireship
Realtime Graphs and Charts with Plotly and Firebase
Fireship
Role-Based User Permissions in Firebase
Fireship
User Presence System in Realtime - Online, Offline, Away
Fireship
Location-based Queries with GeoFire and Angular Google Maps
Fireship
Angular ngrx Redux Quick Start Tutorial
Fireship
Angular Ngrx Effects with Firebase Database
Fireship
Progressive Web Apps with Angular
Fireship
Angular Ngrx with Firebase Google OAuth User Authentication
Fireship
RxJS Quick Start with Practical Examples
Fireship
Send SMS Text Messages with Twilio and Firebase
Fireship
Firebase Database Performance Profiling
Fireship
Native Desktop Apps with Angular and Electron
Fireship
Subscription Payments with Stripe, Angular, and Firebase
Fireship
Firestore with AngularFire5 Quick Start Tutorial
Fireship
Angular HTTP Client Quick Start Tutorial
Fireship
Google Sign-In with Firestore Custom User Data
Fireship
Star Review System from Scratch with Firestore + Angular
Fireship
Angular Chatbot with Dialogflow (API.ai)
Fireship
Learn @ngrx/entity and Feature Modules
Fireship
Infinite Scroll Pagination with Firestore
Fireship
Faster Firestore via Data Aggregation
Fireship
Contentful - CMS for Angular Progressive Web Apps
Fireship
More on: Systems Design Basics
View skill →Related Reads
📰
📰
📰
📰
Platform Team Topology and Operating Models
Medium · DevOps
MCP Series (08): Enterprise Governance — Registry, Routing, and Observability
Dev.to · WonderLab
Where is the hosts file on Mac, Windows, and Linux?
Dev.to · Locahl
Presentation: The Rust High Performance Talk You Did Not Expect
InfoQ AI/ML
🎓
Tutor Explanation
DeepCamp AI