Muru – AI-assisted Rust server for Python apps by mod_WSGI's creator
TL;DR Highlight
mod_wsgi's creator is building Muru, an AI-assisted Rust ASGI/WSGI server, documenting it in public
Who Should Read
Backend developer deploying Django, Flask or FastAPI apps to production who is weighing server choices and Kubernetes operations
Core Mechanics
- mod_wsgi's creator built a new server
- Graham Dumpleton started mod_wsgi 20 years ago and has since thought about the ideal way to serve Python web apps in production.
- The result is Muru, an AI-assisted Rust server.
- ASGI and WSGI on one server
- Muru aims to be the best tool for running ASGI and WSGI Python apps in development and production.
- One post is titled 'WSGI and ASGI together'.
- Scope as seen from post titles
- Titles include 'import once, fork many', 'HTTPS in development' and 'releases, not restarts'.
- Others include 'canaries without a service mesh', 'working with Kubernetes', 'scaling to zero', 'a toolbar on every page' and 'tracing in the toolbar'.
- The article only lists titles, so details are in each post.
- 19 posts in three weeks as a dev log
- Posts ran from 2026-11-04 to 2026-11-22 as part of his development process.
- Simon Willison notes he did the same with wrapture.
- AI does the work, but a human judges 'not good enough yet'
- Graham writes that even if AI does much of the surface work, deciding what isn't good enough yet is up to him.
- He says twenty years of mistakes with mod_wsgi help with that.
Community Reactions
- Opinion: preload then fork is appealing
- One comment likes preloading the app and forking workers, comparing it to Android's Zygote.
- It also notes Muru calls gc.freeze() before forking.
- Idea: a forked worker per user
- One commenter proposes forking a sandboxed worker per user or session (e.g. FreeBSD Capsicum) holding only that user's credentials.
- Combined with PostgreSQL row-level security, they believe it would limit SQL injection and RCE damage.
- They say it may not suit planet-scale apps but fits many apps needing security.
- Criticism: AI-written posts are tedious
- A commenter who used mod_wsgi respects Graham but says the posts read as AI-generated and hollow.
- Another comment also finds the LLM-generated writing tedious.
- Opinion: AI-use labels don't matter
- One comment says whether AI was used no longer matters and 'creator before AI' labels just signal superiority.
How to Apply
- Measure gc.freeze() locally
- Today, load your app, call gc.freeze(), fork workers with os.fork() and compare memory.
- This is a small test of the preload-then-fork structure mentioned in comments.
- Read 2-3 Muru posts and compare with your server
- Start with 'import once, fork many' and 'releases, not restarts'.
- Tabulate them against your gunicorn/uvicorn deploy and restart setup.
- Turn the Kubernetes posts into a checklist
- Pull items relevant to your deployment from the Kubernetes, scale-to-zero and canary posts.
- Write down only what you verified in the original posts.
Try It
# Paste into Claude or ChatGPT (simplified version of the idea: preload then fork)
I run a Python web app. Current setup:
- Server: {{gunicorn/uvicorn etc.}}
- Framework: {{Django/Flask/FastAPI}}
- Worker count: {{number}}
Make a checklist of what to verify when applying 'import the app once, fork workers, call gc.freeze() before forking' to our app.
Add a one-line memory measurement method for each item, and say so if you don't know something.
Next: pick one checklist item and ask for a local measurement script.Terminology
Related Papers
A Beginner's Guide to Local AI with Inkling, Qwen, and Unsloth
Install Unsloth Desktop, load a quantized Qwen model, and share a private ChatGPT-like AI on your home LAN.
87% of the Anthropic power will come from gas and 11% from coal in 2028
Analysis of Anthropic's contracted data centers: 87% gas, 11% coal power in 2028
Anthropic’s Nasdaq debut
Anthropic listed on Nasdaq and closed its first day below its opening price.
OpenAI still has a WebRTC Problem
WebRTC drops late audio, hurting voice AI; MoQ retransmits and buffers instead
Gemini 4 Neon
Gemini 4 Neon cuts cost per task 32% versus Carbon, at $3 input and $15 output per million tokens
AI is killing All About Berlin
After Google AI Overviews, a Berlin guide site lost 70-75% of its traffic.
Not Everything Needs an LLM
PostHog used small decision models to skip 98.7% of expensive LLM calls
GPT‑6.2 Astra and Sol
GPT-6.2 Astra and Sol cut costs sharply, but over-engineering and early-stop reports are mixed