eBay Interview Question

How do you design a high performance login API?