-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add persistence and some new commands:
* Stores commands in an AOF using WAL method * Saves and restores a DB from disk * Replays the AOF after restoring the DB * Add 'SAVE' and 'BGSAVE' commands * Add 'CLIENT' command * Add 'PING' command * Add 'EXISTS' command * Add 'GETSET' command * Add 'CONVERT' command * Remove 'LOLWUT' command * Run BGSAVE as a scheduled task * Add statistics for 'persistence' * Add option to save the DB in binary format * Add and fix unit tests * Add timestamp to output and cleanup error messages etc * Don't require IDENT to be sent by the client during auth * Fix problem where messages were lost, abort a client connection that takes too long (60s) * Major optimization, RPUSH with multiple elements is O(N) instead of O(2^N) * Other minor fixes and code cleanup
- Loading branch information
Showing
15 changed files
with
768 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
.modules/ | ||
*.aof | ||
*.db | ||
*.lock | ||
*.old | ||
*.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.