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:
- Request Generation - Convert logical operations to wire format
- Response Parsing - Parse responses from the server
- State Management - Track request-response correlation
- Error Handling - Detect and report protocol errors