Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Instant Redis Optimization How-to
Instant Redis Optimization How-to
Instant Redis Optimization How-to
Ebook139 pages1 hour

Instant Redis Optimization How-to

Rating: 0 out of 5 stars

()

Read preview

About this ebook

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. This book is written in a concise, focused style with numerous practical and hands-on recipes and examples. If you want to leverage Redis to create blazing fast applications, then this book is for you.This book is for developers who are already proficient in programming and traditional databases and want to start learning about Redis for its simplicity and fast performance. A basic understanding of Linux and proficiency in a programming language are required to get the most out of this book.
LanguageEnglish
Release dateMay 23, 2013
ISBN9781782164814
Instant Redis Optimization How-to

Related to Instant Redis Optimization How-to

Related ebooks

Databases For You

View More

Related articles

Reviews for Instant Redis Optimization How-to

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Instant Redis Optimization How-to - Arun Chinnachamy

    Table of Contents

    Instant Redis Optimization How-to

    Credits

    About the Author

    About the Reviewer

    www.PacktPub.com

    Support files, eBooks, discount offers and more

    Why Subscribe?

    Free Access for Packt account holders

    Preface

    What this book covers

    What you need for this book

    Who this book is for

    Conventions

    Reader feedback

    Customer support

    Downloading the example code

    Errata

    Piracy

    Questions

    1. Instant Redis Optimization How-to

    Choosing your data store (Simple)

    Getting ready

    Why was Redis created?

    Who is using Redis?

    How to do it...

    There's more...

    How does Redis compare with the competition?

    Major differences

    Comparison with other data stores

    Installing Redis (Simple)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Setting up and testing

    Redis in Mac OS X

    Redis in Windows

    Configuring and tuning Redis (Intermediate)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Security settings

    Advanced configuration

    Implementing persistence in Redis (Intermediate)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Advantages of snapshotting

    Limitations of snapshotting

    What should we use?

    Detecting performance bottlenecks (Intermediate)

    Getting ready

    How to do it...

    How it works...

    There's more...

    CPU bottleneck

    Latency due to the application's design

    Performing high-volume writes (Advanced)

    How to do it...

    How it works...

    There's more...

    Bulk data import

    Redis protocol

    How does the pipe mode work?

    Leveraging data types (Simple)

    How to do it...

    There's more...

    Strings

    Lists

    Sets

    Hashes

    Optimizing memory (Intermediate)

    Getting ready

    How to do it...

    How it works...

    CPU/memory tradeoffs

    Maximize hash usage

    Auto expiry

    There's more...

    Auto-expiring caching system

    Using transactions and Pub/Sub (Advanced)

    How to do it…

    Transactions

    Publish/Subscribe

    How it works...

    There's more...

    A Publish/Subscribe example

    Caveats in transaction

    Troubleshooting and monitoring (Intermediate)

    How to do it...

    There's more...

    Slow log

    Redis software watchdog

    Using languages and drivers (Simple)

    How to do it...

    There's more…

    Client Libraries

    Instant Redis Optimization How-to


    Instant Redis Optimization How-to

    Copyright © 2013 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: May 2013

    Production Reference: 1170513

    Published by Packt Publishing Ltd.

    Livery Place

    35 Livery Street

    Birmingham B3 2PB, UK.

    ISBN 978-1-78216-480-7

    www.packtpub.com

    Credits

    Author

    Arun Chinnachamy

    Reviewer

    Andrea Pavoni

    Acquisition Editor

    Andrew Duckworth

    Commissioning Editor

    Ameya Sawant

    Technical Editor

    Jeeten Handu

    Copy Editors

    Aditya Nair

    Insiya Morviwala

    Project Coordinator

    Sherin Padayatty

    Proofreader

    Kevin McGowan

    Graphics

    Abhinash Sahu

    Production Coordinator

    Prachali Bhiwandkar

    Cover Work

    Prachali Bhiwandkar

    Cover Image

    Conidon Miranda

    About the Author

    Arun Chinnachamy is a developer and systems architect who focuses on building scalable web applications, with a degree in Chemical Engineering. He is a multifaceted programmer with experience in multiple technologies and programming languages ranging from ADA to C# over the years.

    Currently he leads the technology team at MySmartPrice, one of the leading price comparison engines in India.

    I would like to express my gratitude to the great minds that created Redis and made this exciting piece of software open source.

    This work would not have been possible without the support of my parents and my wife, Suvarchala, who was patient with my round-the-clock working hours.

    Thanks to Sitakanta and Sulakshan for introducing me to MySmartPrice and providing me with an opportunity to work there; MySmartPrice started my love affair with Redis.

    I would like to thank the open source community for excellent documentation about Redis; it was of incredible help during my early days with Redis.

    It is totally unfair to not thank my editor and publisher who believed in me and provided me with this excellent opportunity to share my experience with you.

    I would also like to thank each and every one who shaped my

    Enjoying the preview?
    Page 1 of 1