aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-24refactor: Refactor how I model the state and config and cache of the server ↵omagdy1-12/+32
with sepraration of concerns
2025-07-23refactor+feat: Did overhaul refactoring for how I model each server data and ↵omagdy1-48/+53
also add a feat to propagate write commands to replicas
2025-07-23feat: Added syncing with empty RDB fileomagdy1-4/+44
2025-07-23feat: Added simple logic to check if redis node role is master or slaveomagdy1-1/+2
2025-07-22feat: Configure listening port throught command line argumentsomagdy1-23/+29
2025-07-22feat: Implemented reading a key from rdb fileomagdy1-1/+29
2025-07-22feat: Added a feature to proprely parse rdb files and added support for KEYS ↵omagdy1-3/+4
command
2025-07-20feat: Added parsing of simple command line arguments and CONFIG GET command ↵omagdy1-5/+22
implementation
2025-07-17test: Moved tests to seprate files under tests folder for more structureomagdy1-29/+3
2025-07-17refactor: moved macros to their own fileomagdy1-0/+2
2025-07-17enhance: Added a cleanup thread that every 10 seconds cleans up null values ↵omagdy1-1/+22
that expire in the shared cache
2025-07-17feat: Added expiry options to SET commandomagdy1-8/+24
2025-07-16feat: Added support for simple commands like PING, ECHO, GET and SETomagdy1-5/+11
- Implemented a simple parsing logic for parsing commmands now - Created a HashMap that will act as our storage and shared it across threads using `Arc<Mutex<()>>` magic - Wrote some macros to make instantiating RESP types eaiser for myself
2025-07-16feat: Finished ECHO commandomagdy1-2/+11
2025-07-15codecrafters submit [skip ci]omagdy1-9/+28
2025-07-15codecrafters submit [skip ci]omagdy1-5/+4
2025-07-15test respond to multiple PINGsomagdy1-2/+10
2025-07-15test respond to PINGomagdy1-3/+3
2025-07-15test respond to PINGomagdy1-16/+11
2025-07-14init [skip ci]codecrafters-bot1-0/+22