Get the latest tech news
Scaling One Million Checkboxes to 650M checks
Dealing with unexpected popularity
I changed a lot of OMCB but the basic architecture - nginx reverse proxy, API workers, Redis for state and message queues - remained. So (after taking a break for a day) I got brunch with my friend Eliot- a super talented performance engineer - and asked if he was down to give me a hand. Redis made it soooo easy to avoid race conditions with this implementation - I put all the relevant logic into a Lua script, meaning that it all ran atomically!
Or read this on Hacker News