Seastar
High performance C++ framework for concurrent servers
Classes | Functions
Multicore

Detailed Description

Support for exploiting multiple cores on a server.

Seastar supports multicore servers by using sharding. Each logical core (lcore) runs a separate event loop, with its own memory allocator, TCP/IP stack, and other services. Shards communicate by explicit message passing, rather than using locks and condition variables as with traditional threaded programming.

Classes

class  seastar::sharded< Service >
 
class  seastar::async_sharded_service< T >
 
class  seastar::peering_sharded_service< Service >
 Provide a sharded service with access to its peers. More...
 
class  seastar::no_sharded_instance_exception
 Exception thrown when a sharded object does not exist. More...
 
class  seastar::foreign_ptr< PtrType >
 

Functions

template<typename T >
foreign_ptr< T > make_foreign (T ptr)
 

Function Documentation

◆ make_foreign()

template<typename T >
foreign_ptr< T > make_foreign ( ptr)
related

Wraps a raw or smart pointer object in a foreign_ptr<>.