this project contains:
- tcp server using socket programming.
- async io and event loop.
- a parser to parse commmands.
- key value in memory database.
- a command line tool to interact with the server.
the protocal uses tcp and listens on port 6379 by default.
request:
+-----+---------+
| len | payload |
+-----+---------+
len: 32bit unsigned int
payload: string
response:
+--------+-----+---------+
| status | len | payload |
+--------+-----+---------+
status: 16bit unsigned int
len: 32bit unsigned int
payload: string