> For the complete documentation index, see [llms.txt](https://docs.rumi.systems/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rumi.systems/rumi-core/guides/developing-applications/configuring-the-runtime/threading.md).

# 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**](/rumi-core/reference/threads.md) - Complete reference of all threads in a Rumi container and their configuration options
* [**Disruptors**](/rumi-core/guides/developing-applications/configuring-the-runtime/threading/disruptors.md) - Configure LMAX disruptor ring buffers for inter-thread communication
* [**Thread Affinitization**](/rumi-core/guides/developing-applications/configuring-the-runtime/threading/thread-affinitization.md) - Pin threads to CPU cores for cache locality and NUMA optimization

## Related Topics

* [Threading Model](/rumi-core/concepts/threading-model.md) - Threading architecture and design rationale
* [Operating Model](/rumi-core/concepts/operating-model.md) - How threading fits into operations
