Redis proxy

Redis proxy configuration overview.

  1. {
  2. "name": "redis_proxy",
  3. "config": {
  4. "cluster_name": "...",
  5. "conn_pool": "{...}",
  6. "stat_prefix": "..."
  7. }
  8. }

cluster_name

(required, string) Name of cluster from cluster manager. See the configuration section of the architecture overview for recommendations on configuring the backing cluster.

conn_pool

(required, object) Connection pool configuration.

stat_prefix

(required, string) The prefix to use when emitting statistics.

Connection pool configuration

  1. {
  2. "op_timeout_ms": "...",
  3. }

op_timeout_ms

(required, integer) Per-operation timeout in milliseconds. The timer starts when the first command of a pipeline is written to the backend connection. Each response received from Redis resets the timer since it signifies that the next command is being processed by the backend. The only exception to this behavior is when a connection to a backend is not yet established. In that case, the connect timeout on the cluster will govern the timeout until the connection is ready.