2015
3:13 hours
Developing Our First Application Using Redis
Installing Redis and Starting the Command-line Client
Getting and Setting Strings
Inspecting Keys
Atomic Numeric Counters
Partial Data Modification
Implementing a Simple Cache
Administration and Security
Server CONFIGuration
Setting Up Authentication
Logging and Monitoring
Data Storage and Security
Lists and Hashes
Introducing an Image Gallery Application
Users’ Information Is Stored in Hashes
Adding a List of Galleries
Image Pagination and Surfing History
Sets, Sorted Sets, and HyperLogLog
Tagging Images with Sets
Running Tag Clouds with Sorted Sets
Counting Unique Visitors with HyperLogLog
Deducting Gallery Tags
Making Friends-related Logic with Sets
Publishing/Subscribing
Introducing a Chatting Application
Direct Messaging with Publish/Subscribe
Implementing a Chat Room
Handling Multiple Rooms with Multichannel Subscription
Scaling and High Availability
Master/Slave Replication
Sharding
The Redis Cluster
Sentinel
Transactions and Pipelining
Explaining Transactions
Implementing Check-and-set
Pipelining
The Mass Insertion of Data
Scripting Redis
An Introduction to the Lua Script
Writing Scripts
EVALuating Scripts
Caching Scripts
A Final Word