IO threads only get data from clients, and the main thread should parse the data to convert to a command. Why do not assign parsing task to io threads? Without parsing commands, the main thread will work faster
Comment From: uvletter
Actually parsing is done in io thread, only execution of command is in main thread.
Comment From: madolson
True story. We go all the way up to just before command execution, and then defer the command execution for later.
Comment From: NoWait126
I need to read the source code again carefully, I thought parsing is done by IO threads last time I read the code