jedis can't use pipeline through twemproxy

The company deployed a set of distributed redis database and used twemproxy proxy externally. When using jedisl connection in the java project, it was found that some redis commands could not be directly connected to redis, and an exception that the command could not be executed was reported.

 

When connecting to redis normally, there is no problem. But there is a problem when passing through twemproxy. Then the problem should appear on twemproxy. I went to github to see the support of twemproxy for redis. I found that there are many new commands that are not supported. The link is as follows: https://github.com/twitter/twemproxy/blob /master/notes/redis.md . 

 

Pipeline is supported between twemproxy and redis master-slave, but programs and twemproxy are not supported. In addition to pipelines and transactions, etc. are not supported, see the above connections for details.

 

The company's current solution to this problem is to connect redis directly to other (unknown) proxies.

 

 

 

Just take notes, predict details, and reply separately

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326415805&siteId=291194637