Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Backend flows explained deeply
·
Module 4
Web Servers and Application Runtimes
1
Minimal TCP Server with Python Sockets
Build a minimal TCP server in Python using the `socket` module to accept and respond to connections.
2
Web vs. Application Servers
Explain the roles of a web server (e.g., Nginx) and an application server (e.g., Gunicorn).
3
Web Server Worker Models & Trade-offs
Describe web server worker models (pre-fork, threaded, event-driven) and their trade-offs.
4
Reverse Proxies: Purpose and Use Cases
Explain the purpose of a reverse proxy and its common use cases (load balancing, SSL termination).
5
WSGI and ASGI: Connecting Web Servers to Python Apps
Explain the WSGI and ASGI specifications and how they bridge a web server to a Python application.
6
Server-Side HTTP Caching
Describe HTTP caching mechanisms controlled by the server, including `Cache-Control` headers and `ETags`.
7
Nginx as a Reverse Proxy for Gunicorn
Configure Nginx as a reverse proxy to forward requests to a Gunicorn-managed Python application.
8
HTTP State Management: Cookies & Sessions
Explain how cookies and sessions work at the HTTP protocol level to maintain state.
Previous module
Operating System Concepts for Backend Developers
Next module
Database Internals: How Data is Stored and Retrieved