Database / ScyllaDB Interview questions
Describe the Seastar framework used by ScyllaDB?
Seastar is the open-source C++ asynchronous programming framework, originally built for ScyllaDB, that underlies its shard-per-core, high-performance design. Seastar provides a future-promise concurrency model, its own userspace network stack and memory allocator, and asynchronous I/O so applications built on it can drive hardware close to its physical limits.
Rather than relying on OS threads and blocking system calls, Seastar programs run one thread per core, each managing its own event loop and non-blocking I/O queue. This eliminates cross-core synchronization overhead and lets ScyllaDB scale near-linearly with core count on a single machine, which is the foundation the shard-per-core architecture is built on top of. Seastar is also used by other performance-sensitive projects beyond ScyllaDB itself.
More Related questions...