Skip to content

WSGI

Web Server Gateway Interface

Medium — good to knowBackend

ELI5 — The Vibe Check

WSGI is the OG standard for Python web apps talking to web servers. It's been around since 2003 and it's how Django and Flask work under the hood. It's synchronous and simple — one request comes in, one response goes out. No fancy async stuff here.

Real Talk

WSGI is the Python standard (PEP 3333) defining how web servers communicate with web applications. It provides a simple, synchronous callable interface where a server calls an application with an environment dict and a start_response callback. It's the foundation for Django, Flask, and most traditional Python web frameworks.

When You'll Hear This

"Django uses WSGI by default, which is fine for most request-response workloads." / "If you need WebSockets, you'll need to switch from WSGI to ASGI."

Made with passive-aggressive love by manoga.digital. Powered by Claude.