8 Comments
User's avatar
Varun Upadhyay's avatar

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
John Crickett's avatar

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
Manish G's avatar

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

Expand full comment
John Crickett's avatar

The idea is you build your own.

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

Expand full comment
Manish G's avatar

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

Expand full comment
John Crickett's avatar

Awesome, good luck!

Expand full comment
Gregor Ojstersek's avatar

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
John Crickett's avatar

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

Expand full comment