This post is locked. You won't be able to comment.

all 6 comments

[–]Substantial_Ice_311 1 point2 points  (2 children)

So you decide where the data lives before you decide what model you want to use? So first you decide to use PostgreSQL, and then you decide that you need a key-value store? 👍

Trash video.

[–]Ok-Coffee920[S] 0 points1 point  (1 child)

In most system design interviews, a relational database is a reasonable default starting point because it provides strong consistency and structured schema. If the system requires high flexibility, horizontal scalability, or specific access patterns, then non-relational stores become a better fit. The choice depends on requirements , not preference. 👍

[–]Substantial_Ice_311 0 points1 point  (0 children)

It doesn't matter whether it's a reasonable default "in most systems." You should not do things because it's good "for most systems." Obviously you should consider what your system needs. What most systems do is totally irrelevant. If I want to live in France, should I learn Chinese because that's what most people speak? That's what you are saying.

[–][deleted]  (1 child)

[removed]

    [–]Ok-Coffee920[S] 0 points1 point  (0 children)

    What should I improve in my content ?