Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Protocols

Xylem supports multiple application protocols for different types of RPC workloads.

Supported Protocols

  • Redis - Redis protocol for key-value operations
  • HTTP - HTTP/1.1 protocol for web services
  • Memcached - Memcached protocol for caching

Protocol Selection

Specify the protocol in your TOML profile configuration:

[target]
protocol = "redis"
address = "localhost:6379"

Protocol Architecture

All protocols in Xylem implement a common interface that provides:

  1. Request Generation - Convert logical operations to wire format
  2. Response Parsing - Parse responses from the server
  3. State Management - Track request-response correlation
  4. Error Handling - Detect and report protocol errors

See Also