News for hackers. Stuff that matters.
Re:Redis (consistent hashing based) sharding made easy by antirez on Thursday June 27, 2013 @04:52AM (#5951257)
Hello,

Redis accepts both a structured protocol, and a simple space-separated tokens protocol (called the inline protocol) that helps sysadmins to avoid a disaster just because they lack a proper redis-cli but are in need to run a Redis command ASAP. Perhaps this proxy is also supporting both forms.

You can do that with any modern enough Redis server:

    Escape character is '^]'.
    ping
    +PONG
    set foo bar
    +OK
    get foo
    $3
    bar
Re:Redis (consistent hashing based) sharding made easy by janerik on Thursday June 27, 2013 @05:06AM (#5951296)
I know of that simple protocol. But the responses in the example telnet session on that side return "True" and "13" where it should be "+OK" and ":13" with the redis protocol.
Re:Redis (consistent hashing based) sharding made easy by antirez on Thursday June 27, 2013 @06:00AM (#5951443)
good point...
Re:Redis (consistent hashing based) sharding made easy by emre-yilmaz on Thursday June 27, 2013 @05:08AM (#5951300)
It doesn't support like this. It seems easy to implement it like that though. I will do it when I have free time.