Redis Cookbook

所需积分/C币:3 2013-11-16 23:13:27 4.9MB PDF
收藏 收藏

Redis Cookbook for developer
Redis cookbook Redis cookbook Tiago macedo and Fred oliveira O REILLY Beijing· Cambridge· Farnham·Koln· Sebastopol· Tokyo Redis Cookbook by tiago macedo and Fred oliveira Copyright o 2011 Tiago Macedo and Fred Oliveira. All rights reserved Printed in the United States of america Published by O Reilly Media, Inc, 1005 Gravenstein Highway North, Sebastopol, CA 95472 O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions arealsoavailableformosttitles( corporate/institutionalsalesdepartment:(800) Editors: Andy Oram and Mike Hendrickson Cover Designer: Karen Montgomery Production Editor: Jasmine Perez Interior Designer: David Futato Proofreader: O'Reilly Production Services Printing History August 2011 First edition Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly Media, Inc. Redis Cookbook, the image of the mouse opossum, and related trade dress are trademarks of O'Reilly Media, Inc Many of the designations used by manufacturers and sellers to distinguish their products are claimed as rademarks. Where those designations appear in this book, and O Reilly Media, Inc was aware of a trademark claim, the designations have been printed in caps or initial caps While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information con tained herein ISBN:978-1-449-30504-8 1311195806 Table of contents Preface 1. An Introduction to redis When to use Redis Problem Installing Redis Proble Solution Discussion Jsing Redis data Types 11113333777 Proble Solution Discussion 2. Clients Using redis from the Command Line 999 Solution Discussion Using Redis from Python with redis-py 10 Solution Discussion 10 Using redis from ruby with redis-rb 11 11 Solu Discussion Using Redis with Ruby on rails 12 Solu 12 Discussion 3. Leveraging redis....................... 15 Using Redis as a Key/value Store roblem Solution 15 Discussion 16 Inspecting your data 20 roblem 20 Solution 21 Discussion 21 Implementing OAuth on Top of redis roblem 22 Solution Discussion 22 Using Redis's Pub/Sub Functionality to Create a Chat System 26 roblem 26 Solution 26 Discussion 27 Implementing an Inverted-Index text Search with Redis roblem Solution 31 Discussion 31 Analytics and Time-Based Data 35 roblem 35 Solution Discussion Implementing a Job Queue with Redis 39 roblem 39 Solution 39 Discussion 39 Extending redis 42 roblem 42 Solution Discussion 4. Redis administration and maintenance .4..45 Configuring Persistence 45 Problem 45 Solution Discussion Starting a Redis slave 47 roblem 47 I Table of Contents Solution 47 Discussion Handling a dataset Larger Than Memory 48 Problem 48 Solution 48 Discussion 48 pgrading Redis 49 roblem 49 Solution 49 Discussion 51 Backing up redis 51 Problem 51 Solution 51 Discussion 52 Sharding redis 53 Problem 53 Solution Discussion 54 Appendix: Finding Help Table of contents|ⅶi

试读 72P Redis Cookbook
立即下载 身份认证后 购VIP低至7折
关注 私信
Redis Cookbook 3积分/C币 立即下载
Redis Cookbook第1页
Redis Cookbook第2页
Redis Cookbook第3页
Redis Cookbook第4页
Redis Cookbook第5页
Redis Cookbook第6页
Redis Cookbook第7页
Redis Cookbook第8页
Redis Cookbook第9页
Redis Cookbook第10页
Redis Cookbook第11页
Redis Cookbook第12页
Redis Cookbook第13页
Redis Cookbook第14页
Redis Cookbook第15页

试读结束, 可继续读5页

3积分/C币 立即下载