Redis & NoSQL stores
Redis data structures, persistence and eviction, and how to choose between document, key-value, wide-column, graph, search and vector stores.
3 lessons
Redis
- 1Redis data structures and atomicitySend Redis the change, not the new value: one command is atomic; your read-then-write is not.
- 2Redis persistence (RDB and AOF) and eviction policiesPersistence decides what a restart brings back; the eviction policy decides what a full Redis deletes, and each instance has exactly one.