Massive traffic spikes: live voting

A architecture exercise of about 30 minutes: read the statement, solve «Massive traffic spikes: live voting» in the browser and get a review like in a real interview.

Architecture · 30 min
Loading…

Statement

A TV contest opens voting from its app for 5 minutes, live. Last time the API and the database went down after 30 seconds and votes were lost. Design a system that accepts every vote in the peak, loses none, never counts the same one twice and gives the host the result when voting closes.