Skip to main content

Crate folk_core

Crate folk_core 

Source
Expand description

Folk application server core: config, worker pool, plugin registry.

See folk-spec/spec/01-architecture.md for the role of this crate.

Modules§

config
Configuration loading.
health_registry
Concrete HealthRegistry impl.
logging
tracing initialization.
metrics_registry
Concrete MetricsRegistry over the prometheus crate.
plugin_registry
Plugin registry — owns the boot/shutdown ordering.
rpc_registry
Concrete RpcRegistrar impl for folk-api.
rpc_server
Admin RPC server: Unix socket listener that dispatches to registered handlers.
runtime
Abstraction over how PHP workers are spawned.
server
FolkServer: the lifecycle owner for the Folk application server.
worker_pool
Worker pool: dispatches requests to PHP workers, manages slot lifecycle.
worker_slot
Per-slot state for one worker.