Seastar
High performance C++ framework for concurrent servers
|
Public Attributes | |
sstring | name = "App" |
sstring | description = "" |
std::chrono::duration< double > | default_task_quota = std::chrono::microseconds(500) |
bool | auto_handle_sigint_sigterm = true |
Handle SIGINT/SIGTERM by calling reactor::stop() More... | |
unsigned | max_networking_aio_io_control_blocks = 10000 |
size_t | reserve_additional_memory_per_shard = 0 |
bool seastar::app_template::config::auto_handle_sigint_sigterm = true |
Handle SIGINT/SIGTERM by calling reactor::stop()
When true, Seastar will set up signal handlers for SIGINT/SIGTERM that call reactor::stop(). The reactor will then execute callbacks installed by reactor::at_exit().
When false, Seastar will not set up signal handlers for SIGINT/SIGTERM automatically. The default behavior (terminate the program) will be kept. You can adjust the behavior of SIGINT/SIGTERM by installing signal handlers via reactor::handle_signal().
sstring seastar::app_template::config::description = "" |
The description of the application.
Will be printed on the top of the –help output. Lines should be hard-wrapped for 80 chars.
unsigned seastar::app_template::config::max_networking_aio_io_control_blocks = 10000 |
Specifies the default value for linux-aio I/O control blocks. This translates to the maximum number of sockets the shard can handle.
sstring seastar::app_template::config::name = "App" |
The name of the application.
Will be used in the –help output to distinguish command line args registered by the application, as opposed to those registered by seastar and its subsystems.
size_t seastar::app_template::config::reserve_additional_memory_per_shard = 0 |
The amount of memory that should not be used by the seastar allocator, additional to the amount of memory already reserved for the OS. This can be used when the application allocates some of its memory using the seastar allocator, and some using the system allocator, in particular when it uses the mmap system call with MAP_ANONYMOUS which is not overridden in seastar.