Adventures with Memory Barriers and Seastar on Linux
Seastar abstracts away most of the problems of multi-threaded programming using a thread-per-core model. Locks, atomic variables, memory barriers, lock-free programming, and all of the scaling and complexity that come from them are gone.This article examines these optimizations and some of the complexity involved.
ScyllaDB