前提条件
redis版本 >= 4.0.0
1.RedisBloom
安装方式:
- 编译打包.so文件
git clone --recursive https://github.com/RedisBloom/RedisBloom.git
cd RedisBloom
./sbin/setup
bash -l
make
- 修改redis的配置文件 【redis.conf】
loadmodule /root/Redis/RedisBloom/bin/linux-x64-release/redisbloom.so
2.TairHash
安装方式:
- 编译打包.so文件
git clone https://github.com/alibaba/TairHash.git
cd TairHash
mkdir build
cd build
cmake ../ && make -j
- 修改redis的配置文件 【redis.conf】
loadmodule /root/Redis/TairHash/tairhash_module.so
3.RedisCell
安装方式:
- 编译打包.so文件
git clone https://github.com/brandur/redis-cell.git
cd redis-cell
cargo build --release
cp target/release/libredis_cell.so /path/to/modules/
- 修改redis的配置文件 【redis.conf】
loadmodule /root/Redis/TairHash/libredis_cell.so