Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 915 Bytes

architecture.md

File metadata and controls

28 lines (16 loc) · 915 Bytes

Architecture

Before After Diagram

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.

Proxy features

Besides from multiplexing connections, the proxy provides some additional features.

Transactions

🚧 Work in progress

Proxy supports MULTI and EXEC commands.

During transaction Proxy aggregates commands in memory and flushes it on EXEC.

Scripting

🚧 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.