tair-opensource/RedisShake
Fork: 697 Star: 3835 (更新于 2024-11-02 11:59:15)
license: MIT
Language: Go .
RedisShake is a Redis data processing and migration tool.
最后发布版本: v4.1.1 ( 2024-07-04 14:30:53)
RedisShake: Redis Data Transformation and Migration Tool
Overview
RedisShake is a powerful tool for Redis data transformation and migration, offering:
-
Zero Downtime Migration: Enables seamless data migration without data loss or service interruption, ensuring continuous operation during the transfer process.
-
Redis Compatibility: Supports Redis 2.8 to 7.2, across standalone, master-slave, sentinel, and cluster deployments.
-
Cloud Service Integration: Seamlessly works with Redis-like databases from major cloud providers:
- Alibaba Cloud: ApsaraDB for Redis, Tair
- AWS: ElastiCache, MemoryDB
-
Module Support: Compatible with TairString, TairZSet, and TairHash.
-
Flexible Data Source: Supports PSync, RDB, and Scan data fetch methods.
-
Advanced Data Processing: Enables custom script-based data transformation and easy-to-use data filter rules.
How to Get RedisShake
-
Download from Releases.
-
Use Docker:
docker run --network host \
-e SYNC=true \
-e SHAKE_SRC_ADDRESS=127.0.0.1:6379 \
-e SHAKE_DST_ADDRESS=127.0.0.1:6380 \
ghcr.io/tair-opensource/redisshake:latest
- Build it yourself:
git clone https://github.com/tair-opensource/RedisShake
cd RedisShake
sh build.sh
How to Use RedisShake
To move data between two Redis instances and skip some keys:
- Make a file called
shake.toml
with these settings:
[sync_reader]
address = "127.0.0.1:6379"
[redis_writer]
address = "127.0.0.1:6380"
[filter]
# skip keys with "temp:" or "cache:" prefix
block_key_prefix = ["temp:", "cache:"]
- Run RedisShake:
./redis-shake shake.toml
For more help, check the docs.
History
RedisShake, actively maintained by the Tair team at Alibaba Cloud, evolved from redis-port. Key milestones:
- RedisShake 2.x: Improved stability and performance.
- RedisShake 3.x: Complete codebase rewrite, enhancing efficiency and usability.
- RedisShake 4.x: Enhanced readers, configuration, observability, and functions.
License
RedisShake is open-sourced under the MIT license.
最近版本更新:(数据更新于 2024-09-08 20:56:13)
2024-07-04 14:30:53 v4.1.1
2024-05-23 17:44:26 v4.1.0
2024-03-12 10:01:35 v4.0.5
2024-03-05 15:04:23 v4.0.4
2023-12-29 14:45:05 v4.0.3
2023-10-11 19:55:13 v4.0.2
2023-09-28 15:57:15 v4.0.1
2023-08-28 15:32:51 v4.0.0
2023-06-08 11:04:01 v3.1.11
2023-03-02 15:01:31 v3.1.10
主题(topics):
redis, redis-cluster, redis-proxy
tair-opensource/RedisShake同语言 Go最近更新仓库
2024-11-05 08:55:31 XTLS/Xray-core
2024-11-05 00:03:47 SagerNet/sing-box
2024-11-04 20:34:19 Permify/permify
2024-11-04 15:07:27 containerd/containerd
2024-11-03 20:10:56 flipped-aurora/gin-vue-admin
2024-11-03 00:46:25 dolthub/dolt