How would you design a scalable API that needs to handle sudden spikes in traffic, such as a job posting going viral?