r/FastAPI • u/Busy_Dig338 • Sep 28 '25
feedback request FastAPI setup with no ORM
I have this simple setup to connect to postgres without any ORM. I'd love some suggestion how to improve this
7
Upvotes
View all comments
Show parent comment
2
u/SpecialistCamera5601 Sep 28 '25
We usually start by building fast so the business can begin making money. At the beginning, there isn’t that much data anyway, so ORMs perform well enough and let you move quickly. Once traffic grows, we keep an eye on things with New Relic and focus on the endpoints with high RPM. That’s when we optimise and, if needed, switch those parts to raw queries.
For me, that strikes the right balance: a fast time to market early on and targeted optimisations only where they actually matter.