hn.today

Muru – AI-assisted Rust server for Python apps by mod_WSGI's creator

simonwillison.net13 points0 comments
Screenshot of Muru – AI-assisted Rust server for Python apps by mod_WSGI's creator

Muru is a Rust-based server for Python web applications, created by Graham Dumpleton, who built mod_wsgi two decades ago. It is designed to serve both WSGI and ASGI apps, with tools intended for development as well as production. The project grows out of Dumpleton’s long experience operating Python servers and his continuing effort to define what a dependable, practical serving environment should provide. AI is helping with implementation, but the project’s standards and final judgments remain his: he draws on years of lessons from mod_wsgi to decide what still needs work before Muru is something he would trust others to use.

Dumpleton has documented the project in a detailed series of development notes covering its architecture and operational features. Topics include how workers fit together, importing an application once before forking, development HTTPS, serving WSGI and ASGI together, and releasing updates without restarting. The notes also describe canary deployments without a service mesh, container and Kubernetes integration, worker-informed scaling, scaling to zero, scheduled overlays, monitoring and response, and a browser toolbar with tracing. Taken together, they show Muru being developed as more than a basic request-handling server: it aims to address the practical lifecycle of Python services, from local development through deployment, observability, and changing capacity. The series also offers an account of AI-assisted programming in which AI does much of the visible coding, while experienced human judgment guides refinement and quality.

Read on simonwillison.net0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Big Data Is Dead

Big Data Is Dead

Big data is not the main obstacle to useful insights: hardware has kept pace with data growth, while teams still struggle to make sense of their information. The author argues that organizations should focus on making data easier to understand and use, rather than buying tools built for ever-larger datasets. (motherduck.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.