tidis icon indicating copy to clipboard operation
tidis copied to clipboard

Is it possible to make Nodejs client connect to Redis switch to Tidis without any change?

Open kaisatec opened this issue 4 years ago • 2 comments

Is it possible to make Nodejs client connect to Redis switch to Tidis without any change?

I am using

https://github.com/NodeRedis/node-redis

Just wonder if I can

1.switch to tidis directly or 2.change some code of node-redis or 3.use official tidis nodejs client(if have)

Thanks

kaisatec avatar Nov 12 '20 16:11 kaisatec

@kaisatec I am working on refactoring the api compatibility with redis api. For now, tidis have compatible protocal with redis, but some api commands not.

yongman avatar Nov 13 '20 02:11 yongman

@kaisatec This is in progress in new-key-encoding branch

yongman avatar Dec 09 '20 15:12 yongman

Please refer to https://github.com/tidb-incubator/tidis

yongman avatar Sep 20 '22 05:09 yongman