Graham Dumpleton, creator of mod_wsgi, has launched Muru, a new Rust-based server for running ASGI and WSGI Python applications in development and production. Developed over the last three weeks with AI assistance, Muru is documented through a detailed series of 18 blog posts covering its architecture and features. The server implements an "import once, fork many" model for efficient worker processes and supports both WSGI and ASGI protocols simultaneously. Key production features include zero-downtime releases via canary deployments without a service mesh, automatic scaling based on worker-reported metrics including scale-to-zero capability, and scheduled configuration overlays. Muru integrates natively with Kubernetes, provides HTTPS in development, and includes a per-page debugging toolbar with distributed tracing. The project emphasizes operational simplicity, positioning itself as a "better tenant in a container" by working with platform primitives rather than against them. Dumpleton emphasizes that while AI accelerates implementation, his two decades of mod_wsgi experience guides critical design decisions and quality control.

Read original