Expand description
RESP-compatible TCP server for the pylon cache.
Speaks the Redis wire protocol (RESP2), so any redis-cli or Redis client
library can talk directly to the pylon cache without HTTP overhead.
§Supported commands
Strings: GET, SET, DEL, EXISTS, INCR, DECR, INCRBY, SETNX, GETSET, MGET, MSET TTL: EXPIRE, PERSIST, TTL Lists: LPUSH, RPUSH, LPOP, RPOP, LRANGE, LLEN Sets: SADD, SREM, SMEMBERS, SISMEMBER, SCARD, SINTER, SUNION Hashes: HSET, HGET, HDEL, HGETALL, HEXISTS, HLEN, HKEYS, HINCRBY Sorted: ZADD, ZREM, ZSCORE, ZRANK, ZRANGE, ZCARD Keys: KEYS, TYPE, DBSIZE, FLUSHALL, FLUSHDB Conn: PING, ECHO, QUIT, COMMAND, INFO
Functions§
- start_
resp_ server - Start a RESP-compatible server (Redis protocol) on the given port.