BetterDB – 开源的 Redis/Valkey 跨云和自托管迁移工具
我在Redis担任开发工具的工程经理一年后,看到生态系统因许可证变更而分裂,因此构建了这个工具。<p>Redis 7.4与Valkey的数据文件兼容性被打破。RIOT是唯一广泛使用的开放迁移工具,但在去年十月已被归档,且没有公开的替代品。而云服务提供商——AWS、GCP、Redis Cloud——没有动力让用户轻松迁移。如果你想在不同的提供商之间迁移、切换协议,或者完全摆脱托管基础设施,那就只能靠自己了。<p>BetterDB提供了一个三阶段的工作流程来解决这个问题:<p>分析 - 扫描你的键空间,并在任何操作之前标记出阻碍兼容性的因素。给出绿/黄/红的评判结果。<p>执行 - 使用RedisShake实现同协议的快速迁移,或者在二进制传输失败的情况下,采用基于命令的方式进行跨版本和跨协议的迁移。<p>验证 - 进行键计数比较、样本抽查以及与迁移前快照的性能基线比较。<p>支持任何方向,任何提供商,独立或集群。<p>运行命令:docker run -p 3000:3000 betterdb/monitor<p>网站:https://betterdb.com
代码库:https://github.com/BetterDB-inc/monitor
文档:https://docs.betterdb.com
查看原文
I built this after a year at Redis as an engineering manager for their developer tools, watching the ecosystem fragment after the license change.<p>Redis 7.4 broke data file compatibility with Valkey. RIOT, the only widely-used open migration tool, was archived last October with no open replacement. And the clouds - AWS, GCP, Redis Cloud - have no incentive to make leaving easy. If you want to move between providers, switch protocols, or get off managed infrastructure entirely, you're on your own.<p>BetterDB ships a three-phase workflow to fix that:<p>Analysis - scans your keyspace and flags blocking incompatibilities before anything moves. Green/amber/red verdict.<p>Execution - RedisShake for same-protocol speed, or command-based for cross-version and cross-protocol migrations where binary transfer fails.<p>Validation - key count comparison, sample spot-check, and performance baseline comparison against pre-migration snapshots.<p>Any direction. Any provider. Standalone or cluster.<p>docker run -p 3000:3000 betterdb/monitor<p>Website: https://betterdb.com
Repo: https://github.com/BetterDB-inc/monitor
Docs: https://docs.betterdb.com