Skip to content

Timmy1012/redis-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis Clone in Java

This repo exists for two reasons: to get my Java backend skills sharp again, and to learn Redis by building the core pieces myself.

It is also a portfolio project: a practical, iterative codebase where I can show how I think about protocols, networking, and stateful systems.

This work is based on the CodeCrafters Redis challenge, but this repository is my own implementation notes and progress.

What this repo focuses on

Instead of trying to mirror Redis all at once, I use this project to build and refine the fundamentals in small iterations:

  • TCP server behavior and client handling
  • RESP parsing and command flow
  • In-memory data handling and expiry behavior
  • Redis-style command semantics

As the project evolves, command support and internals will continue to change.

Run locally

You can run the server locally but keep in mind that this is just a learning project, and in no circumstance a good Redis replacement.

./run.sh

Then connect with redis-cli (default port 6379) and try a quick smoke test:

redis-cli PING
redis-cli SET language java
redis-cli GET language
redis-cli TYPE language

Why I keep this public

  • Track visible progress as I level up in Java again
  • Learn Redis from the inside out by implementing it
  • Keep a concrete, hands-on backend project in my portfolio

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors