Skip to content
IP FediuninFull-Stack & AI Engineer

APIs, data, messaging

Backend

Server logic that accepts requests, stores data, moves long-running work to the background and exchanges messages with other services and external systems.

What is happening

Pick a scenario — it plays out in the district on the diagram, and every step is explained here.

The animation is slowed down for clarity; latencies in the trace are realistic.

District scenarios

Technologies

Pick a technology to light up the buildings it runs in. Tap or click a building to open its details. Technologies with no building in the city lead to case studies.

What it looks like in code

api/routers/reports.py

@router.post("/reports", status_code=202)
async def create_report(body: ReportIn) -> TaskOut:
    task = await tasks.create(kind="report", params=body.model_dump())
    await queue.publish("reports", {"task_id": task.id})
    return TaskOut(task_id=task.id, status="queued")
A FastAPI endpoint: Pydantic checks the input, the long-running work goes to a queue and the client gets a 202 at once.