New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
The signup endpoint takes three seconds because it waits for the welcome email to send before it replies.
What you'll have at the end
A signup endpoint that answers in about a hundredth of a second while the welcome email sends on its own, a couple of seconds later.
You need
A signup route that already creates the new user and calls a working, synchronous email-sending function directly, so the client's response only comes back once that call finishes.
Not covered
Choosing a durable task queue for work that has to survive a crash; this only moves a fire-and-forget email off the response, and leaves that choice for later.
Leans on
Checked 18 Aug 2026
Part of the FastAPI cookbook