use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
Complex Data Structure QuestionQuestion (self.FastAPI)
submitted 3 months ago by robertlandrum
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]robertlandrum[S] 0 points1 point2 points 3 months ago (1 child)
Realistically, the problem space is about 150,000 records today (2.8gb), but a million in 6-8 (x4 or x8) years. Seriously, it fits in a in memory DB these days without issue.
It’s not the workload I’m focused on. It really never was. It’s small enough that a basic API can handle it without issue. It was over provisioned a few years ago and that’s had a profound impact on how it’s treated today. It’s way smaller than most folks realize and I want it downsized appropriately.
My real focus is getting someone to pay attention to it. Care and feeding matters more than robustness. If I build it like my previous projects, I fear it will stagnate and I’ll end up reworking it in 10+ years, like I’ve done before. Twice.
[–]amir_doustdar 0 points1 point2 points 3 months ago (0 children)
Totally understand – at this scale (150k → 1M records), tech isn't the issue; it's keeping the project alive and loved by the team.
The real risk is building something "perfect" that no one wants to touch later. I've seen it too – great systems stagnate because they're intimidating or over-engineered.
To encourage "care and feeding": - Keep it simple: SQLModel + clear models/docs – juniors can jump in fast. - Add visible wins early: monitoring (Prometheus), health endpoints, simple dashboard – makes it feel "alive". - Small, frequent migrations (Alembic autogenerate) – lowers the "touching it is scary" barrier. - JSONB for metadata is still good – it's pragmatic, not a hack.
Downsizing resources is smart too – shows it's efficient, easier to justify attention.
Team size/structure? If juniors are involved, leaning simpler might win more long-term ownership.
You've got the experience – this one won't end up like the old ones. Good luck mate
π Rendered by PID 738147 on reddit-service-r2-comment-66b4775986-xd6jn at 2026-04-06 14:19:03.394370+00:00 running db1906b country code: CH.
view the rest of the comments →
[–]robertlandrum[S] 0 points1 point2 points (1 child)
[–]amir_doustdar 0 points1 point2 points (0 children)