Fastapi Fixtures Playground
por star
Base de datos
A FastAPI service that fronts the rate-limited football-data.org API with a Redis cache, turning a 10-requests-per-minute upstream budget into unlimited reads. The interesting problem is the cache: TTL by data volatility, stampede control, stale-while-revalidate, and explicit failure behaviour, all observable from curl via an X-Cache header.