Database / ValKey Interview questions
Explain the difference between Valkey Cluster mode and standalone mode?
The two modes differ in how the dataset is distributed and how high availability is achieved.
| Cluster Mode | Standalone Mode |
| Data automatically sharded across 16384 slots and many nodes | Entire dataset lives on a single primary |
| Multi-key operations limited to keys in the same slot (hash tags) | Multi-key operations unrestricted across the whole keyspace |
| Failover built in via replica promotion | Needs an external mechanism such as Sentinel |
| Numbered databases limited to db 0 before Valkey 9.0 | Full SELECT 0-15 numbered-database support |
Multi-key transactions across arbitrary keys are unrestricted in...
Prior to Valkey 9.0, numbered databases (SELECT 1, 2, ...) in Cluster mode were...
More Related questions...