A simplified Redis-like in-memory data structure store, capable of supporting basic data structures such as strings, hashes, lists, sets, and more.
- In-memory Storage: Store data directly in memory for quick access.
- Basic Data Structures: Support for strings, lists, hashes, and sets.
- Command Parser: Interpret and execute commands similar to native Redis commands.
- Persistence: (Optional) Save and load data from disk to retain data across sessions.
- Go (or replace with your language's prerequisites)
Clone the repository:
git clone https://github.com/yourusername/build-your-own-redis.git
Navigate to the project directory:
cd build-your-own-redis
Build the project (if applicable):
make build
Start the BYOR server:
./byor-server
Connect to the server using BYOR client:
./byor-client
Once connected, you can use commands similar to Redis:
> SET hello "world"
OK
> GET hello
"world"
Interested in contributing to BYOR? Great! Here's how you can help:
- Fork the repository.
- Create a new branch for your feature or fix.
- Push your changes to your forked repo.
- Create a pull request from your branch to the main BYOR repository.
- After review, if everything looks good, your changes will be merged.
- This project was inspired by and based on the "Build your own Redis" tutorial. All credits to the original author for the idea and foundational knowledge.