Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Foreword

Preface

Acknowledgments

About this Book

About the Cover Illustration

1. Getting started

Chapter 1. Getting to know Redis

1.1. What is Redis?

1.1.1. Redis compared to other databases and software

1.1.2. Other features

1.1.3. Why Redis?

1.2. What Redis data structures look like

1.2.1. Strings in Redis

1.2.2. Lists in Redis

1.2.3. Sets in Redis

1.2.4. Hashes in Redis

1.2.5. Sorted sets in Redis

1.3. Hello Redis

1.3.1. Voting on articles

1.3.2. Posting and fetching articles

1.3.3. Grouping articles

1.4. Getting help

1.5. Summary

Chapter 2. Anatomy of a Redis web application

2.1. Login and cookie caching

2.2. Shopping carts in Redis

2.3. Web page caching

2.4. Database row caching

2.5. Web page analytics

2.6. Summary

2. Core concepts

Chapter 3. Commands in Redis

3.1. Strings

3.2. Lists

3.3. Sets

3.4. Hashes

3.5. Sorted sets

3.6. Publish/subscribe

3.7. Other commands

3.7.1. Sorting

3.7.2. Basic Redis transactions

3.7.3. Expiring keys

3.8. Summary

Chapter 4. Keeping data safe and ensuring performance

4.1. Persistence options

4.1.1. Persisting to disk with snapshots