Infinispan Server includes an endpoint that implements the RESP3 protocol and allows you to interact with remote caches using Redis clients.

1. Using the RESP endpoint

Infinispan Server includes a module that implements the RESP3 protocol. The RESP endpoint allows Redis clients to connect to one or several Infinispan-backed RESP servers and perform cache operations.

The RESP endpoint is enabled by default on the single-port endpoint. Redis client connections will automatically be detected and routed to the internal connector.

Unresolved directive in ../../stories/assembly_resp_endpoint.adoc - include::../topics/proc_server_enabling_resp.adoc[leveloffset=+1] :leveloffset: +1

2. Mapping caches to Redis logical databases

Use the cache aliases configuration attributes to map caches to Redis logical databases. The default respCache is mapped to logical database 0.

Infinispan can use multiple logical databases even in clustered mode, as opposed to Redis which only supports database 0 when using Redis Cluster.

2.1. Redis commands

The Infinispan RESP endpoint implements the following Redis commands: