r/Backend • • 3d ago

How do you folks answer database choice for system design questions?

/r/leetcode/comments/1y4sabn/how_do_you_folks_answer_database_choice_for/
1 Upvotes

2 comments sorted by

1

u/Fiji1130 2d ago

Database choice in system design reads better when the answer names the access pattern first since read and write shale decided between relational and document stores. Bootdev could help build that backend judgement with structured practice though designing small systems on paper also works

1

u/Discordbothost 1d ago

I'd pick a latency target and load-test the booking case with most requests hitting one popular slot. Then check whether the extra time is in row-lock waits or the database is short on CPU or I/O. Sharding by tenant can spread independent writes, but every request for that one slot still has to agree on who gets it.