Tagged articles
12 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Apr 9, 2021 · Backend Development

Understanding WSGI: How Python Web Apps Communicate with Servers

WSGI (Web Server Gateway Interface) defines how Python web frameworks like Django and Flask interact with web servers, acting as a mediator that enables flexible, scalable deployment across servers such as Apache, NGINX, and containers like Gunicorn, uWSGI, and mod_wsgi.

BackendDeploymentDjango
0 likes · 5 min read
Understanding WSGI: How Python Web Apps Communicate with Servers
NetEase Game Operations Platform
NetEase Game Operations Platform
Feb 8, 2020 · Backend Development

Diagnosing /tmp Disk Space Exhaustion in a Flask File Transfer Service: Understanding Werkzeug Form Parsing and Temporary File Handling

The article investigates a sudden /tmp disk‑space explosion in a Flask‑based file transfer service, analyzes the Werkzeug form‑parsing code that creates temporary files for uploads larger than 500 KB, demonstrates reproducible tests with inotify and Python scripts, and offers practical recommendations to prevent similar failures.

FlaskPythonTemporaryFile
0 likes · 13 min read
Diagnosing /tmp Disk Space Exhaustion in a Flask File Transfer Service: Understanding Werkzeug Form Parsing and Temporary File Handling
MaGe Linux Operations
MaGe Linux Operations
Jan 28, 2019 · Backend Development

Mastering Python Web Deployment: CGI, FastCGI, WSGI, uWSGI & More

An in‑depth guide explains the evolution from CGI to FastCGI, WSGI, uWSGI, Gunicorn and Tornado, detailing each protocol’s architecture, performance benefits, and deployment steps for Python web applications, helping developers choose the right server setup for production environments.

CGIGunicornPython
0 likes · 13 min read
Mastering Python Web Deployment: CGI, FastCGI, WSGI, uWSGI & More
MaGe Linux Operations
MaGe Linux Operations
Oct 25, 2017 · Backend Development

Master Flask: From Virtual Environments to Advanced Features

This comprehensive guide walks you through Flask's core concepts, environment setup with pyenv, WSGI fundamentals, basic and advanced application patterns, request handling, configuration, factory methods, hooks, blueprints, and essential extensions, providing practical code examples for Python backend development.

Flask ExtensionsPythonWSGI
0 likes · 15 min read
Master Flask: From Virtual Environments to Advanced Features
ITPUB
ITPUB
Mar 21, 2017 · Backend Development

Understanding How Nginx, WSGI, and Flask Work Together

This article clarifies the three‑layer architecture of a web request—web server, WSGI interface, and web framework—by explaining each layer’s role, showing code examples for Flask and a raw WSGI app, and distinguishing related protocols such as uWSGI and CGI.

Backend DevelopmentFlaskPython
0 likes · 7 min read
Understanding How Nginx, WSGI, and Flask Work Together
MaGe Linux Operations
MaGe Linux Operations
Mar 10, 2017 · Backend Development

Mastering WSGI: A Beginner’s Guide to Python Web Servers

This article introduces the WSGI specification, explains how WSGI servers and applications interact, details the application interface and environment handling, and provides practical examples for processing GET and POST requests in Python, helping beginners build their own web frameworks.

BackendHTTPPEP3333
0 likes · 7 min read
Mastering WSGI: A Beginner’s Guide to Python Web Servers
ITPUB
ITPUB
Dec 25, 2015 · Backend Development

Build a Simple Python WSGI Server that Runs Django, Flask, and Pyramid

This guide shows how to create a minimal Python WSGI server that can run Django, Flask, and Pyramid applications without modifying server or framework code, explains WSGI fundamentals, provides step‑by‑step setup, code snippets, testing commands, and demonstrates the server‑framework interaction.

Backend DevelopmentDjangoFlask
0 likes · 11 min read
Build a Simple Python WSGI Server that Runs Django, Flask, and Pyramid