BlogsDatadogThread-per-core programming model

Thread-per-core programming model

Thread-per-core programming model

1
posts
2020

Datadog has developed Glommio, a Rust crate designed to simplify the implementation of thread-per-core architectures. This model aims to improve application performance and reduce tail latencies by dedicating a thread to each CPU core, thereby eliminating traditional thread context switches and the need for locks when accessing shared data. Glommio addresses the challenges of this paradigm, making it more manageable for developers to build high-throughput systems, particularly for data-intensive applications like datastores.

2020

Introducing Glommio, a thread-per-core crate for Rust and Linux | Datadog

11/2/2020

This post introduces Glommio, a new Rust crate developed by Datadog to facilitate the adoption of the thread-per-core programming model. It explains the benefits of thread-per-core, such as improved tail latencies and elimination of locks, by contrasting it with traditional threaded and asynchronous programming. The post details how Glommio enables Rust developers to write thread-per-core applications, addressing the complexity and arcane challenges associated with this architecture, and positions it as a solution for high-throughput datastores.