Automation
Server-on-Demand
A Discord-operated control plane for starting, observing, and stopping dedicated servers on shared hardware.
System flow
- Discord request
- Admission and reservation
- Lifecycle watcher
- Service readiness
The problem
Dedicated servers compete for memory on a single host, particularly while starting. I use one control surface to coordinate workloads and give operators a view of service readiness.
Implementation
The Python service separates admission decisions, lifecycle watchers, and idle deadlines. The admission path considers available memory and in-flight reservations. Watchers use service-specific adapters and publish state for Discord. The source includes World of Warcraft, Valheim, and Project Zomboid adapters.
Trade-offs and next steps
A running process and a joinable service are separate states. Readiness checks vary with each service’s protocol. The repository includes targeted tests for idle deadlines, admission, probes, and recovery. Measuring restart and readiness reliability under concurrent load remains future work.