ebook img

Learning Redis PDF

318 Pages·2015·3.367 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Learning Redis

Learning Redis Design efficient web and business solutions with Redis Vinoo Das BIRMINGHAM - MUMBAI Learning Redis Copyright © 2015 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: June 2015 Production reference: 1230615 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78398-012-3 www.packtpub.com Credits Author Project Coordinator Vinoo Das Nidhi Joshi Reviewers Proofreader Dan Cartoon Safis Editing Munish Kumar Gupta Paul Irwin Indexer Tejal Soni Dae Myung Kang Jari Timonen Graphics Abhinash Sahu Commissioning Editor Ashwin Nair Production Coordinator Aparna Bhagat Acquisition Editor Sonali Vernekar Cover Work Aparna Bhagat Content Development Editor Manasi Pandire Technical Editor Mohita Vyas Copy Editors Dipti Kapadia Alpha Singh About the Author Vinoo Das has 16 years of experience in the software industry and has worked in various domains, such as telecom, banking, payment gateways, information management, and so on. He is highly motivated and loves to work on new and upcoming technologies. He is currently architecting a platform for an information technology giant, which will enable the company to position the platform at an enterprise level as well as a cloud solution. I would like to thank my parents and my family for supporting me. I would also like to thank my friends Lokendra and Kartikeya for helping me shape the book. I would also like to thank Packt Publishing and the editors Manasi Pandire and Mohita Vyas for their efforts in shaping up this book. About the Reviewers Dan Cartoon grew up in Atlanta, Georgia, but now spends his time in the San Francisco Bay Area as a software engineer. He has worked at social and game- oriented software start-ups as well as at large companies. He enjoys working in the field of machine learning and building large-scale software systems. In his free time, he likes to play various musical instruments and take long walks on Northern California's foggy beaches. I would like to thank my wife for her patience while I spent even more time in front of the computer reviewing this book. I would also like to thank Salvatore Sanfilippo for creating Redis and releasing it to the world. Munish Kumar Gupta is a lead architect working for Wipro Technologies. Based in Bangalore, India, his day-to-day work involves solution architecture, application performance engineering, and helping enterprises adopt open source technologies. He is always looking for patterns while solving problems, writing code, and making optimum use of tools and frameworks. He is the author of Akka Essentials, Packt Publishing. Dae Myung Kang lives in South Korea. He has more than 10 years of experience in the software industry. His interest lies in studying in-memory cache and storage. He currently works as a backend software engineer for Daum Kakao. He is also a keen contributor of Redis/Twemproxy and Apache Tajo. I would like to thank my wife, Suki, and my son, Hanyul. I will always love you. Jari Timonen is an experienced software enthusiast with over 10 years of experience in the software industry. His experience includes successful team leadership combined with understanding complex business domains and putting them into practice. He has built enterprise architectures, designed software, and programming. Having started his career in the finance industry, he currently works as a service architect in a telecommunications company. He practices pair programs and is keen on studying new technologies. When he is not building software, he is spending time with his family, fishing, exercising, or flying his radio-controlled model helicopter. He currently holds certifications that include Sun Certified Programmer for the Java 2 Platform, Standard Edition 5, Sun Certified Developer for the Java 2 Platform, Oracle Certified Master, and Java EE 5 Enterprise Architect. www.PacktPub.com Support files, eBooks, discount offers, and more For support files and downloads related to your book, please visit www.PacktPub.com. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks. TM https://www2.packtpub.com/books/subscription/packtlib Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books. Why subscribe? • Fully searchable across every book published by Packt • Copy and paste, print, and bookmark content • On demand and accessible via a web browser Free access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access. Table of Contents Preface vii Chapter 1: Introduction to NoSQL 1 An Internet-enabled world 1 The NoSQL primer 5 Graph-oriented NoSQL 6 Document-oriented NoSQL 8 Salient features of MongoDB and CouchDB 10 Column-oriented NoSQL 11 Salient features of HBase and Cassandra 12 Key value-oriented NoSQL 15 How does Redis fare in some of the nonfunctional requirements as a key-value datastore? 15 Use cases of NoSQL 16 Summary 20 Chapter 2: Getting Started with Redis 21 Installing Redis on Windows 21 Installing Redis on Mac OS 24 Introduction to redis.conf 25 Hello World in Redis 26 Hello World using redis-cli 26 Hello World using Java 28 Installing Jedis and creating an environment 29 Writing the program 30 Shutting down the server 31 Loading a test Hello World program in Redis 34 Summary 36 [ i ]

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.