Skip to main content
Loading page…
Python Mastery
Chapter 31
Lesson 1 of 4
SQL vs NoSQL
Contents
Notes
Tutor
Concept
Why NoSQL Exists
Loading activity…
Previous
1 / 8
Continue
Contents
Notes
Discussion
Tutor
20 min
8 activities
0 of 8 done
In this lesson
1
Why NoSQL Exists
2
The Four NoSQL Families
3
CAP Theorem & Eventual Consistency
4
Schema Flexibility — Power and Peril
5
Horizontal Scaling: Sharding vs Replication
6
Classify the Database Use Case
7
CAP Theorem Trade-Off
8
When to Stick With SQL
Objectives
Describe the four main NoSQL families and their trade-offs
Apply the CAP theorem to choose between consistency and availability
Decide when a relational database is the right choice and when NoSQL fits better
Further reading
redis-py documentation
PyMongo documentation
Chapter 31 · NoSQL with Redis & MongoDB
SQL vs NoSQL
Redis with redis-py
MongoDB with PyMongo
Putting It Together
Previous: Schema Migrations with Alembic
Next: Redis with redis-py