无法让twemproxy使用Python redis

2024-05-15 07:55:54 发布

您现在位置:Python中文网/ 问答频道 /正文

我安装了胡桃夹子0.4.0,并在配置中设置了以下内容:

redis:
    listen: 127.0.0.1:22121
    hash: fnv1a_64
    distribution: ketama
    auto_eject_hosts: true
    redis: true
    server_retry_timeout: 2000
    server_failure_limit: 10
    servers:
    - 127.0.0.1:6379:1

代码:

^{pr2}$

我怎样才能让Twemproxy和redis py合作?在


Tags: redistrueautofailureservertimeouthashlisten