Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
旧版本的REdis支持多DB,但由于最新版本不支持多DB,请问Cassandra或者Mongo可以用吗?
我需要多个数据库,因为我使用相同的 Redis 实例来支持不同的应用程序数据库
Redis 和 Cassandra 是非常不同的野兽 - 用于不同的目标。Redis 主要是内存存储(如缓存),而 cassandra 则用于将数据存储在磁盘上。
您可以定义多个键空间和多个表(在键空间内)来模拟 redis 提供的“多个数据库”。但同样,我认为您可能会使用错误的工具来完成这项工作。