Skip to main content

Module config

Module config 

Source
Expand description

ZMTP configuration and buffer sizing

This module provides configuration for buffer sizes used across ZMTP sockets. Tuning these values can significantly impact performance based on workload.

Structs§

BufferConfig
Socket buffer configuration

Constants§

DEFAULT_READ_BUF_SIZE
Default read buffer size (8KB)
DEFAULT_WRITE_BUF_SIZE
Default write buffer size (8KB)
LARGE_READ_BUF_SIZE
Large read buffer size (16KB)
LARGE_WRITE_BUF_SIZE
Large write buffer size (16KB)
SMALL_READ_BUF_SIZE
Small read buffer size (4KB)
SMALL_WRITE_BUF_SIZE
Small write buffer size (4KB)
STAGING_BUF_INITIAL_CAP
Initial staging buffer capacity for decoder reassembly (256 bytes)