NoSQL
Must knowMust know
NoSQL groups the databases that do not use the relational table model. Each family solves a specific problem, so they do not replace SQL: they complement it.
Families and examples
- In-memory key-value (Redis): reads and writes in microseconds. Used as a cache, for sessions, queues and rate limits.
- Documents (MongoDB): stores JSON-like objects with a flexible schema. Useful when the shape of the data changes often.
- Wide-column (Cassandra): massive writes spread across many servers, such as metrics or events.
- Managed in the cloud (DynamoDB): key-value and documents at large scale without running servers, in exchange for tying you to AWS.
Start with Redis: almost every backend ends up needing a cache.