Proxy uses Redis Protocol to quack like a Redis in non-cluster mode.
It executes client commands, handles MOVED
and ASK
redirects and routes Redis responses back to the clients.
It also supports multiple clusters with database number-to-cluster mapping.
Besides from multiplexing connections, the proxy provides some additional features.
🚧 Work in progress
Proxy supports MULTI
and EXEC
commands.
During transaction Proxy aggregates commands in memory and flushes it on EXEC
.
🚧 Work in progress
Proxy supports SCRIPT LOAD
and EVALSHA
commands.
On SCRIPT LOAD
proxy loads scripts to each node and keeps in memory to load to newly added nodes,
so it is required to send script to the proxy even if it is already exists on the cluster shards.