Threading

Configure threading, disruptors, and CPU affinity for optimal performance in your Rumi microservices.

Overview

Rumi's threading model is built on the single writer principle with detached threads for infrastructure work. Configuration allows you to tune disruptor parameters, pin threads to specific CPU cores, and optimize for NUMA architectures.

Proper threading configuration is critical for achieving ultra-low latency and maximum throughput.

Topics

  • Thread Reference - Complete reference of all Rumi threads and their configuration options

  • Disruptors - Configure LMAX disruptor ring buffers for inter-thread communication

  • Thread Affinitization - Pin threads to CPU cores for cache locality and NUMA optimization

Last updated