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
HealthRegistryimpl. - logging
tracinginitialization.- metrics_
registry - Concrete
MetricsRegistryover theprometheuscrate. - plugin_
registry - Plugin registry — owns the boot/shutdown ordering.
- rpc_
registry - Concrete
RpcRegistrarimpl forfolk-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.