One thread inside Redis. A hundred thousand clients connected to it. No locks. No mutexes. No thread pool. How? The answer is the event loop — and once you understand it, you understand most of modern ...