This repository contains a simplified version of Redis, implemented in Python. This project has been designed for educational purposes, allowing you to understand the inner workings of a Redis-type in-memory data store.
Redis is an open-source, in-memory data structure store, used as a database, cache, and message broker. This project aims to provide a basic understanding of how Redis works by recreating some of its core functionalities using Python. It is not intended for production use but rather as a learning tool to explore the concepts behind Redis.
- TCP server that accepts multiple simultaneous connections
- In-memory storage for key-value pairs
- Basic data types: strings, lists, sets, hashes
- Simple command-line interface for interaction
- Persistence to disk using a basic snapshot mechanism
- Pub/Sub messaging system (basic implementation)