Pergunta de entrevista da empresa ErnieApp

If you had to design from day zero, an horizontally scalable REST-API, which techniques would you suggest to use? How would you structure the architecture of the backend? How would you structure the DB?

Resposta da entrevista

Sigiloso

15 de abr. de 2020

I have mentioned that the backend application has to be stateless, so that no state information is stored with each app instance. Split everything in app layer, DB layer, cache, session db, etc. Then add a load balancer in front of you multiple app instances an you have a horizontally scalable REST API.