π Learning and exploring Redis.
The open source, in-memory data store used by millions of developers as a database, cache, streaming engine, and message broker.
NOTE: This project was developed on macOS. It is for my own personal use.
Redis is awesome. I need to learn it.
Follow these instructions to build and run the demo:
- Install Redis:
-
brew install redis
-
- Start the Redis server:
-
redis-server --loglevel warning
-
- Connect to it from the Redis REPL (Read Eval Print Loop):
-
redis-cli
-
- Write some data using the REPL
-
LPUSH redis-playground "Hello from the redis-playground!"
- Instead of copy/pasting the command. Try writing it by hand. Notice how the REPL has a nice auto-suggestion and auto-completion user experience.
-
- Read the data:
-
RPOP redis-playground
-