August 2025
Intermediate to advanced
272 pages
6h 14m
English
Redis[50] is a widely used key-value data store that runs in memory. It communicates with its clients through a textual protocol called RESP. The protocol is easy to use and understand, letting us focus on the TCP client aspects. We’ll work inside a new redis_client application, so run the following to scaffold it:
| | > mix new redis_client |
| | * creating README.md |
| | * creating .formatter.exs |
| | * creating .gitignore |
| | * creating mix.exs |
| | * creating lib |
| | * creating lib/redis_client.ex |
| | * creating test |
| | * creating test/test_helper.exs |
| | * creating test/redis_client_test.exs |
| | |
| | Your Mix project was created successfully. |
| | You can use "mix" to compile it, test it, and more: |
| | |
| | cd redis_client |
| | mix test |
| | |
| | Run "mix help" ... |
Read now
Unlock full access