Expand description
Worker-based server infrastructure for ntex.
WorkerPool runs services across one or more worker threads. The net
module builds TCP and Unix domain socket servers on top of that pool.
Server is the controller used to pause, resume, stop, or await a running
server.
Modules§
- net
- General-purpose network server.
Structs§
- Listener
Metrics - Metrics of a single listener.
- NoConfig
- Application configuration that creates unit state.
- Runtime
Metrics - Runtime statistics of a worker.
- Server
- Controller and completion future for a running server.
- Server
Metrics - Snapshot of server metrics.
- Worker
- Server worker.
- Worker
Id - Identifier assigned to a server worker.
- Worker
Metrics - Metrics of a single worker.
- Worker
Pool - Builder for a pool of server workers.
- Worker
Stop - Future returned when stopping a worker.
Enums§
- Affinity
- CPU affinity of worker threads.
- Load
Balancing - How the server distributes items between workers.
- Server
Status - Server status.
- Worker
Status - Worker status.
Traits§
- Server
AppConfig - Creates application state independently for each server worker.
- Server
Configuration - Worker service configuration.