Redis in Action

所需积分/C币:6 2017-08-08 15:07:51 2.59MB PDF

Redis is an innovative data tool that offers more flexibility than other available NoSQL key-value stores like Cassandra or DynamoDB. Because Redis accepts hashes, strings, lists, and other structures as values, you can expand the key-value idea to a wider range of use cases. Redis works with in-mem
Redis in action JOSIAH L. CARLSON MANNING Shelter island For online information and ordering of this and other manning books, please visit For more information, please contact Manning publications co 20 Baldwin Road PO BOX 261 Shelter island.ny11964 @2013 by Manning Publications Co. All rights reserved o part of this publication may be reproduced, stored in a retrieval system, or transmitted,in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and mannin Publications was aware of a trademark claim, the designations have been printed in initial caps OI lI caps @o Recognizing the importance of preserving what has been written, it is mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlo Manning publications Co Development editor: Elizabeth Lexleigh 20 Baldwin Road Technical proofreaders: James Philips, Kevin Chang, PO BOx 261 and Nicholas Lindgren Shelter island. ny11964 ava translator Eric Van Dewoestine Copyeditor: Benjamin Berg Proofreader: Katie tennant Typesetter: Gordan Salinovic Cover d M la ISBN9781935182054 Printed in the united states of america 12345678910-MAL-181716151413 o my dear we, see luan and to our baby girl, Mikela brief contents PART 1 GETTING STARTED Getting to know redis 3 2 Anatomy of a redis web application 24 PART 2 CORE CONCEPTS 37 Commands in redis 39 4 Keeping data safe and ensuring performance 63 5 Using Redis for application support 90 6 Application components in Redis 110 7 Search-based applications 154 Building a simple social network 185 PART3 NEXT STEPS。 207 9 Reducing memory use 209 Scaling redis 228 I Scripting Redis with Lua 249 contents foreword xu preface xvii acknowledgments xix about this book xxi about the cover illustration xxu PART 1 GETTING STARTED Getting to know Redis 3 1.1 What is Redis? 4 Redis compared to other databases and software 4. Other eatures6· Why Redis?6 1.2 What Redis data structures look like 7 Strings in redis 9- Lists in redis 10. Sets in Redis 17 Hashes in redis 12- Sorted sets in redis 13 1.3 Hello redis 15 Voting on articles 15 Posting and fetching articles 19 Grouping articles 20 1.4 Getting help 22 1.5S ummary 2

  • GitHub

  • 分享精英


关注 私信 TA的资源

  • 下载 -