Card 1 — normal traffic to a Python service
Show a normal endpoint first, then explain why the service needs protection when traffic spikes.
python service preview
Flask API
A few normal users reach the server without any issue.
Basic Python endpoint
Teach the starting point before adding throttling.
from flask import Flask, jsonify app = Flask(__name__) @app.get("/status") def status(): return jsonify({"ok": True})