eBook
Redis in Action
01Foreword
02Preface
03Acknowledgments
04About this Book
05About the Cover Illustration
4.1.1 Persisting to disk with snapshots
4.1.2 Append-only file persistence
4.1.3 Rewriting/compacting append-only files
4.2.1 Configuring Redis for replication
4.2.2 Redis replication startup process
4.2.3 Master/slave chains
4.2.4 Verifying disk writes
4.4.1 Defining users and their inventory
4.4.2 Listing items in the marketplace
4.4.3 Purchasing items
4.5 Non-transactional pipelines
4.6 Performance considerations
4.7 Summary
5.2.1 Storing counters in Redis
5.2.2 Storing statistics in Redis
5.2.3 Simplifying our statistics recording and discovery
5.4.1 Using Redis to store configuration information
5.4.2 One Redis server per application component
5.4.3 Automatic Redis connection management
5.5 Summary
6.2.1 Why locks are important
6.2.2 Simple locks
6.2.3 Building a lock in Redis
6.2.4 Fine-grained locking
6.2.5 Locks with timeouts
6.3.1 Building a basic counting semaphore
6.3.2 Fair semaphores
6.3.3 Refreshing semaphores
6.3.4 Preventing race conditions
6.5.1 Single-recipient publish/subscribe replacement
6.5.2 Multiple-recipient publish/subscribe replacement
6.6.1 Aggregating users by location
6.6.2 Sending files
6.6.3 Receiving files
6.6.4 Processing files
6.7 Summary
9.1.1 The ziplist representation
9.1.2 The intset encoding for SETs
9.1.3 Performance issues for long ziplists and intsets
9.3.1 What location information should we store?
9.3.2 Storing packed data
9.3.3 Calculating aggregates over sharded STRINGs
9.4 Summary