- Write a parser for redis protocol
- Hack
main
to accept connection and return "Ok" always (no threads/concurrency), using rawTcpStream
- Should fool
redis-cli
- Should fool
- Run the above in a loop
- Spawn a thread for each connection (maybe use mpsc channels?)
- Parse Commands (only SET and GET) from Resp Array
- Make a
HashMap
based storage, and handleSET
andGET
- Maybe generalize to parse more commands
- Make a
- Somehow use tokio event loops
- Re-write protocols in tokio