ResQ interview question

How do you design bitly? How do you ensure HA for a sample app?