r/FastAPI • • May 30 '25

Question Sharing Database across FastAPI Sub Applications

Are there any drawbacks to sharing a database across FastAPI sub applications, e.g. integrity issues, etc?

Or it as simple as injecting the DB dependency and letting the stack do its magic?

14 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/mysakh May 30 '25

No poolers. Low traffic (about 1 call per second). Same data. Both reads and writes will be used across the board.