index
:
redis-clone.git
command-registry
main
multi/execute
pubsub
shards
very simple redis-like cache database
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
main.go
Age
Commit message (
Collapse
)
Author
Files
Lines
2026-07-10
moved commands and database and main into separate packages
alex
1
-14
/
+16
2026-07-10
base integraion of command-registry system
alex
1
-14
/
+1
2026-07-10
split the handlers into multiple maps with different paremeters/returns
alex
1
-5
/
+13
2026-07-10
refactored handler funcs to have return values instead of writing to conn ↵
pubsub
alex
1
-5
/
+8
and to not take conn as a parameter
2026-07-09
basic pubsub system
alex
1
-1
/
+9
2026-07-09
refactored all handlers to work with shards
shards
alex
1
-23
/
+23
2026-07-09
updated go routine for clearing expired keys
alex
1
-7
/
+10
2026-07-09
added RENAME command
alex
1
-0
/
+1
2026-07-09
refactored DECR and INCR to support shards
alex
1
-2
/
+2
2026-07-08
fixed bug regarding DEL
alex
1
-1
/
+1
2026-07-08
made NumShards a global const
alex
1
-3
/
+3
2026-07-08
gave shards ids
alex
1
-0
/
+1
2026-07-08
refactored EXISTS,SET,GET to support multiple shards
alex
1
-6
/
+13
2026-07-08
added LREM command
alex
1
-0
/
+1
2026-07-07
added KEYS command
alex
1
-0
/
+1
2026-07-07
added DBSIZE command
alex
1
-0
/
+1
2026-07-07
added LPUSH command
alex
1
-0
/
+1
2026-07-06
added TYPE command
alex
1
-0
/
+1
2026-07-06
added HKEYS and HVALUES
alex
1
-0
/
+2
2026-07-06
added hash support
alex
1
-0
/
+3
2026-07-06
added struct Item and keyowrd EXPIRE so now we can track expire time of ↵
alex
1
-1
/
+16
items in the db
2026-07-06
main loop now uses map to check which handler to use
alex
1
-24
/
+24
2026-07-06
refactored all handlers to take all args as a parameter
alex
1
-16
/
+9
2026-07-06
split the code into multiple files for better readability
alex
1
-353
/
+0
2026-07-05
added LPOP and RPOP keywords
alex
1
-0
/
+66
2026-07-05
refactored code to use serializeRESP function
alex
1
-26
/
+34
2026-07-05
added simpleString type
alex
1
-0
/
+5
2026-07-05
added LRANGE keyword and serializeRESP function
alex
1
-0
/
+78
2026-07-05
added RPUSH keyword
alex
1
-54
/
+107
2026-07-04
added int case to parser
alex
1
-1
/
+2
2026-07-04
made * case in parser recursive
alex
1
-22
/
+7
2026-07-04
added bulk string parsing
alex
1
-0
/
+19
2026-07-04
added parsing of simple strings and fixed bug in INCR/DECR
alex
1
-25
/
+39
2026-07-04
added flushall keyword
alex
1
-0
/
+8
2026-07-04
added decr and ping
alex
1
-0
/
+29
2026-07-04
added incr keyword
alex
1
-0
/
+23
2026-07-04
added del keyword
alex
1
-0
/
+16
2026-07-04
added exists keyword
alex
1
-0
/
+13
2026-07-04
added mutex and parsing of the official redis protocl
alex
1
-14
/
+54
2026-07-03
basic dictionary server with set and get todo: mutex to protect server
alex
1
-2
/
+77
2026-06-25
init
alex
1
-0
/
+7