How Redis Went from Single-Threaded to 3.5 Million Ops/Sec
“Redis is single-threaded.” You’ve heard this in every system design interview, every blog post, every tech talk. It was true in 2009. It’s not true anymore - and hasn’t been since 2020. But the way Redis adopted multithreading is more interesting than just flipping a switch. It’s a story about knowing exactly where your bottleneck is and only parallelizing that part. Why Single-Threaded Was the Right Call When Salvatore Sanfilippi built Redis in 2009, he made what seemed like a strange choice - a single-threaded event loop for a high-performance database. But it wasn’t strange at all. It was the smartest possible design for an in-memory data store. ...