Skip to main content

FAST_REQUEST_MAGIC

Constant FAST_REQUEST_MAGIC 

Source
pub const FAST_REQUEST_MAGIC: u8 = 0xFA;
Expand description

Native fast-cache protocol, version 2.

Requests use an 8-byte raw-binary header: [magic:u8, version:u8, command:u8, flags:u8, body_len:u32le]. Optional routing fields live at the start of the body when their flag bits are set, followed by command-specific binary fields. Field order is: key_hash:u64, route_shard:u32, key_tag:u64. RESP remains supported separately by the server ingress path.