Why Redis Is Fast
Introduction
At Spawn we use redis for many things beyond caching. I wanted to write a post about why Redis is fast but also the upsides of Redis being single threaded.
The Speed Problem
Your app talks to a database. Probably PostgreSQL or MySQL. The...
tigerabrodi.blog3 min read
Tiffany Spark
Web designer in London. Clean code, good design, strong coffee.
the single-threaded event loop explanation finally made Redis click for me. I use it for session caching on client sites and always just trusted it was fast without really understanding why. the I/O multiplexing bit is the real insight here.