aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2025-07-23feat: Propagate write commands such as SET to replicas and actually execute ↵omagdy1-17/+49
them on the replicas
2025-07-23refactor+feat: Did overhaul refactoring for how I model each server data and ↵omagdy4-244/+465
also add a feat to propagate write commands to replicas
2025-07-23feat: Added syncing with empty RDB fileomagdy3-7/+48
2025-07-23refactor: Removed redundancy from `handshake_process` functionomagdy1-44/+32
2025-07-23feat: Implemented last step of handshake processomagdy2-0/+41
2025-07-23feat: Added second step in the handshake processomagdy3-6/+40
2025-07-23feat: Added first step in handshake process between replicas(slaves) and ↵omagdy3-18/+130
master nodes
2025-07-23feat: Added replicationID and replicationOffset in info command for master nodesomagdy2-4/+23
2025-07-23feat: Added simple logic to check if redis node role is master or slaveomagdy3-7/+52
2025-07-23feat: Added simple response to INFO replication commandomagdy3-5/+19
2025-07-22feat: Configure listening port throught command line argumentsomagdy2-24/+43
2025-07-22feat: Implemented reading a key from rdb fileomagdy3-41/+63
2025-07-22feat: Added a feature to proprely parse rdb files and added support for KEYS ↵omagdy4-28/+763
command
2025-07-20feat: Added parsing of simple command line arguments and CONFIG GET command ↵omagdy4-11/+108
implementation
2025-07-17test: Moved tests to seprate files under tests folder for more structureomagdy6-1337/+197
2025-07-17refactor: moved macros to their own fileomagdy3-91/+92
2025-07-17test: Added a whole suite of tests to test parsing and executing commands logicomagdy1-0/+301
2025-07-17refactor: Refactored the parsing logic for more readability and put ↵omagdy1-181/+178
redundant logic into smaller functions
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 commandomagdy3-38/+187
2025-07-16feat: Added support for simple commands like PING, ECHO, GET and SETomagdy3-42/+351
- 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 commandomagdy2-2/+70
2025-07-16feat: Implemented a little top down parser for RESPomagdy1-0/+1574
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