Both redis and cassandra can be used as a keystore. The difference is speed, scale and reliability.
Redis works best as a single server, where the entire data set is in memory.
Cassandra can process datasets that are not suitable in memory, and datasets that are not suitable for one machine. Cassandra is part of a wider distribution on multiple computers. Cassandra can handle machine failures, rebuild machines, while adding cluster capacity.
Since redis is completely in memory, and read / write is served by one machine (a single cassandra record usually talks to several machines), redis is likely to be faster.
If your primary goal is speed, and you don't need to store data reliably, and your data set fits in memory, then redis is probably the best solution.
source share