Category: Database
Redis uses its own protocol to communicate between redis-server and redis-client
![](https://peter.quantr.hk/wp-content/uploads/2023/10/Screenshot-from-2023-10-15-15-05-35-1024x546.png)
I thought db client sending plain text command (in SQL) to server and server parse the command. But I found Redis and Mysql client communicate to server via a custom protocol, that prove the client parse the command, not the server socat -v tcp-listen:8001,reuseaddr,fork tcp:localhost:6379