Question
Command execution vs. I/O threads: which work runs where?
Answer
Command execution mutates the dataset on the main event-loop thread. I/O threads parallelize eligible network read, parsing, and reply work. Use I/O threads for connection/network throughput, not as a cure for expensive commands. Applies to Redis and Valkey.