Post #525950
2026-02-23 16:26 UTC
📣 New blog post
About memory pressure, lock contention, and Data-oriented Design, https://mnt.io/articles/about-memory-pressure-lock-contention-and-data-oriented-design/.
I illustrate how Data-oriented Design helped to remove annoying memory pressure and lock contention in multiple sorters used in the Matrix Rust SDK. It has improved the execution by 98.7% (53ms to 676µs) and the throughput by 7718.5% (from 18Kelem/s to 1.4Melem/s)!
#performance #RustLang #memory #lock #DataOrientedDesign
Replies (1)
-
@b3lt3r@mastodon.b3lt3r.com 2026-02-23 16:49
@hywan can't say I understood more than 0.001% of the tale but it was a pleasure to let it flow over/though me. Excellent stuff!