8 Comments

RESP specification mentions first byte for array types as '*' (https://redis.io/docs/reference/protocol-spec/#arrays)

Just want to confirm if this coding exercise is based upon RESP2 or any other version of protocol specification?

Expand full comment

Thanks for the heads up, for some reason the * was missing from the article when pasted into SubStack. I've corrected it now.

Expand full comment

Which server implementation in rust ecosystem would be a good pick for this task?

Expand full comment

The idea is you build your own.

You could use Tokio for the async, or just raw threads.

Expand full comment

I am learning rust, would try to implement this exercise in it. Wish me luck.

Expand full comment

Awesome, good luck!

Expand full comment

Redis can be extremely helpful with caching and performance optimization. This challenge is very articulate and very thorough. It gives a really good high level understanding on how Redis is operating. Great job with the challenge John!

Expand full comment

Thanks Gregor, I enjoyed writing it and doing it myself was the inspiration to start writing up the coding challenges.

Expand full comment