Booking.com Interview Question

Q: Let's create infrastructure architecture for Instagram clone application, starting from single bare-metal machine running both the application and the database. Q: You had initial 100 internal users and now you're growing, how would you scale your application? Q: How would you scale your application to multiple region datacenters (US and EU for example)?

Interview Answer

Anonymous

May 5, 2022

I've started with simple application plus relational db example, like many startup companies from my experience start with. And started elaborate from this: 1. Adding nginx as a load balancer. 2. Adding blob storage for pictures/files. 3. Separating user likes and comments to different types of datastorage, like redis/document db 4. Creating master-master replication for relational DB in different regions