Skip to main content

Crate ferromatch_server

Crate ferromatch_server 

Modulesยง

admission ๐Ÿ”’
connection ๐Ÿ”’
critical_worker ๐Ÿ”’
engine ๐Ÿ”’
engine_thread ๐Ÿ”’
io_tasks ๐Ÿ”’
journal_files ๐Ÿ”’
metrics ๐Ÿ”’
publisher ๐Ÿ”’
recovery ๐Ÿ”’
replay_invariants ๐Ÿ”’
snapshot ๐Ÿ”’
types ๐Ÿ”’

Structsยง

Args ๐Ÿ”’
FerroMatch โ€” high-performance order matching engine.
ConnectionTaskContext ๐Ÿ”’
PublisherThreadConfig ๐Ÿ”’
ServerShutdown ๐Ÿ”’
StartupState ๐Ÿ”’

Functionsยง

abort_aux_runtime_task ๐Ÿ”’
admission_from_args ๐Ÿ”’
admit_connection ๐Ÿ”’
Checks the connection limit, configures the socket, and registers the connection. Returns None (and drops the socket) when the limit is reached.
aux_runtime_task_result ๐Ÿ”’
build_io_runtime ๐Ÿ”’
connection_liveness_from_args ๐Ÿ”’
graceful_shutdown ๐Ÿ”’
Deterministic shutdown sequence shared by production and (conceptually) the test harness. All phases share a single deadline so the worst-case wall-clock time is bounded by --shutdown-timeout-secs.
initialize_journal ๐Ÿ”’
main ๐Ÿ”’
parse_journal_max_files ๐Ÿ”’
parse_max_order_id ๐Ÿ”’
parse_nonzero_u32 ๐Ÿ”’
parse_nonzero_u64 ๐Ÿ”’
parse_nonzero_usize ๐Ÿ”’
parse_percent ๐Ÿ”’
run_accept_loop ๐Ÿ”’
run_io_runtime ๐Ÿ”’
snapshot_path_from_args ๐Ÿ”’
spawn_aux_runtime_task ๐Ÿ”’
spawn_connection_tasks ๐Ÿ”’
spawn_publisher_thread ๐Ÿ”’