Insights
Lessons from
real systems.
Practical notes on Python backends, payment integrations and running software in production, with examples we have tested.
· 5 min read
Payment webhooks that are safe to retry
Payment providers retry webhooks, so the same event can arrive twice. How to make a FastAPI webhook handler idempotent with SQLAlchemy, with a tested example.
· 4 min read
Correlation IDs in FastAPI: follow one request everywhere
Give every request an ID, log it everywhere and pass it to the services you call. A tested FastAPI example using middleware, contextvars and httpx.