Meesho interview question

slave master architecture queuing system sql queries, optimisation threading