Microsoft Interview Question

How would you design an application which provides 'TinyUrl'