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!

Get the Android app

Or read this on Hacker News

Read more on:

Photo of checks

checks

Photo of checkboxes

checkboxes

Related news:

News photo

CrowdStrike update that caused global outage likely skipped checks, experts say

News photo

Two million checkboxes (written in Elixir)

News photo

Conway's Game of Life, in checkboxes for some reason