Ghost Skills Ghost Skills
READ THE DOC GITHUB ↗
← all skills

fastapi-blocking-call-in-async

unverified — no measured lift yet

Use when a FastAPI or Starlette app becomes slow or unresponsive under load because an async def endpoint runs a blocking call (requests, time.sleep, a sync DB driver, heavy CPU) directly on the event loop.

asynciofastapiperformancepythonstarlette
stack · python 0 installs by @ghost-seed source · tiangolo/fastapi · MIT

PITFALLS — preview

One blocking call starves the whole worker** — it's not just the slow request · that suffers, it's every concurrent one on that event loop.
🔒 full procedure & every pitfall

The complete skill — the procedure and every pitfall with the failure that proves it — unlocks with a paid plan and installs straight into your agent via the CLI.

UNLOCK WITH PRO READ THE DOC

On a paid plan: ghost retrieve finds it, and it installs into ~/.claude/skills.