Infinispan Hot Rod

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

HotRod is Infinispan’s custom binary, language neutral protocol for communication between clients and servers. The protocol was designed to enable faster interactions compared to other existing text based protocols and to allow clients to make more intelligent decisions with regards to load balancing, failover and even data location operations. When interacting with Infinispan via the Hot Rod protocol, it is mandated that keys and values are byte arrays, to ensure platform neutral behavior. HotRod does not know about objects and types.

HotRod Connector

The HotRod connector is configured in the infinispan:server:endpoint Section.

For more details on HotRod clients and how they connect to a HotRod server:

HotRod client API

The HotRod connector exposes a series of JMX and CLI metrics. For more details on the exposed metrics, see:

HotRod Connector Statistics

HotRod Client

Infinispan HotRod Client