Reddit interview question

Design a scaling api application given specific constraints.