Welcome and setup
Before any code: what we are building, in plain English
Welcome! Before we open an editor, a quick picture. A network server is just two programs sharing a phone line. One side speaks, the other listens. Redis is one of those programs. By the end of this course you have written your own version of it, one short file at a time. No frameworks, no magic, just plain Python.
The whole network in one picture
Quiz: Quiz
Loading practice…
The reference repo is github.com/learnwithparam/build-your-own-redis-python. Each step there is a folder, and the difference between two folders is the new idea you are about to learn.
By the end you have a working stand-in for Redis. It speaks the real Redis language, remembers data after a restart, fans messages out to many subscribers, and a backup machine quietly mirrors it. All of it is plain Python you can read in an evening.
The build, end to end
make test should print 'Results: 155/155 passed'. If anything fails, fix it before moving on. The test suite is structural, it does not require any servers running.
Quiz: Quiz
Loading practice…