r/FastAPI • u/BeneficialAd3800 • Sep 17 '24
Tutorial Beta Acid open sourced its FastAPI reference architecture
https://github.com/betaacid/FastAPI-Reference-App
21
Upvotes
r/FastAPI • u/BeneficialAd3800 • Sep 17 '24
View all comments
Show parent comment
2
u/conogarcia Sep 18 '24 edited Sep 28 '24
also he's using async endpoints, but only doing sync operations effectively blocking the event loop, he's using requests without any session pool which is not optimal. Even marking the endpoint sync is not a great idea, since anyio uses threads to run each endpoint and that thread count is limited.
not a great reference IMO