ResQ Interview Question

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