2:40 great detail on what to display when a user isn't followed, vs transitioning to followed vieew, authentication (anonymous vs has ID) Also photo details of needing captions is a tricky callout - interviewer was fast to notice he was asking for missing requirements Also really enjoyed the API conversations! It seems unusual going in depth there before HLD though
Can someone explain why there is a API Gateway behind the Load Balancer? I think LB can route to the services directly, but what is the benefit of having the API Gateway?
Sometimes you merge these two entities into one, and sometimes you need to divide them, or basically have simple LB in front of everything and then LB+Api Gateway as one entity. For example, you use HA proxy to load balance k8s nodes, but nginx or envoy for the LB and API gateway function inside your k8s cluster
2:40 great detail on what to display when a user isn't followed, vs transitioning to followed vieew, authentication (anonymous vs has ID)
Also photo details of needing captions is a tricky callout - interviewer was fast to notice he was asking for missing requirements
Also really enjoyed the API conversations! It seems unusual going in depth there before HLD though
really good mock interview
Can someone explain why there is a API Gateway behind the Load Balancer? I think LB can route to the services directly, but what is the benefit of having the API Gateway?
Sometimes you merge these two entities into one, and sometimes you need to divide them, or basically have simple LB in front of everything and then LB+Api Gateway as one entity. For example, you use HA proxy to load balance k8s nodes, but nginx or envoy for the LB and API gateway function inside your k8s cluster
Does anyone know the design tool used to write the diagrams with texts?
excalidraw
For this video the design tool is part of our platform.