Asynchronous Programming with Seastar

Nadav Har’El - nyh@ScyllaDB.com

Avi Kivity - avi@ScyllaDB.com

Back to table of contents. Previous: 15 Shutting down a service with a gate. Next: 17 More about Seastar’s event loop.

16 Introducing shared-nothing programming

TODO: Explain in more detail Seastar’s shared-nothing approach where the entire memory is divided up-front to cores, malloc/free and pointers only work on one core.

TODO: Introduce our shared_ptr (and lw_shared_ptr) and sstring and say the standard ones use locked instructions which are unnecessary when we assume these objects (like all others) are for a single thread. Our futures and continuations do the same.

Back to table of contents. Previous: 15 Shutting down a service with a gate. Next: 17 More about Seastar’s event loop.