1. Data structures
1.1. overview
1.1.1. Untitled
1.2. String
1.2.1. increment/decrement
1.2.1.1. Untitled
1.2.1.2. Untitled
1.2.2. substring manipulation
1.2.2.1. Untitled
1.3. List
1.3.1. push/pop commands
1.3.1.1. Untitled
1.3.1.2. Untitled
1.3.2. advanced push/pop commands
1.3.2.1. Untitled
1.4. Set
1.4.1. commonly used set commands
1.4.1.1. Untitled
1.4.1.2. Untitled
1.4.2. combine and manipulate sets
1.4.2.1. Untitled
1.4.2.2. Untitled
1.5. Hashes
1.5.1. add / remove items
1.5.1.1. Untitled
1.5.2. bulk operations / string-like calls over hashes
1.5.2.1. Untitled
1.6. Sorted sets
1.6.1. common commands
1.6.1.1. Untitled
1.6.2. fetching/deleting ranges and intersections
1.6.2.1. Untitled
2. Publish/Subscribe support
2.1. Untitled
3. Persistence options
3.1. snapshotting
3.1.1. configuration options
3.1.1.1. Untitled
3.1.1.2. snapshots written to dbfilename
3.1.2. steps to initiate a snapshot
3.1.2.1. BGSAVE
3.1.2.2. SAVE
3.1.2.3. SAVE lines option
3.1.2.4. TERM
3.1.2.5. SYNC
3.1.3. pros/cons
3.1.3.1. might use a lot of storage
3.1.3.2. can deal with potentially substantial data loss
3.2. append-only file
3.2.1. configuration options
3.2.1.1. Untitled
3.2.1.2. append only stored in the path referenced as dir
3.2.2. sync options with appendfsync
3.2.2.1. Untitled
3.2.3. rewrite/compact append-only files
3.2.3.1. overtime, a growing AOF could cause disk to run out of space
3.2.3.2. rewrite the AOF to be as short as possible by removing redundant commands
3.2.3.2.1. BGREWRITEAOF
4. Replication
4.1. operations when a slave connects to a master
4.1.1. Untitled
4.1.2. Untitled
4.2. master-slave chains
4.2.1. Untitled
5. Application components in Redis
5.1. autocomplete
5.2. distributed locking
5.3. counting semaphores
5.4. task queues
5.5. pull messaging
5.6. distributing files
6. Scripting
6.1. Redis developed in C
6.2. Lua inside Redis server
7. Summarize
7.1. speed
7.1.1. in memory datastore
7.2. more than key-value stores
7.2.1. provides ability to store complex values like lists, hashes and sets
7.3. durability options
7.3.1. snapshot option
7.3.2. append only file option
7.3.3. built-in master slave replication
7.4. cons
7.4.1. does not support features like eventual consistency