Instant Redis Optimization How-to
eBook - ePub

Instant Redis Optimization How-to

  1. 56 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Instant Redis Optimization How-to

About this book

In Detail

The database is the backbone of any application and Redis is a next generation NoSQL database which can provide ultra-fast performance if tuned and calibrated correctly. Instant Redis Optimization How-to will show you how to leverage Redis in your application for greater performance and scalability.

Instant Redis Optimization How-to will show you how to make the most of Redis. Using real-world examples of Redis as a caching and queuing service, you will learn how to install and calibrate Redis to optimize memory usage, read and write speed, as well as bulk writes and transactions. If you want to use Redis for its blazing fast capabilities, then this book is for you.

Instant Redis Optimization How-to shows you how to optimize and scale Redis with practical recipes on installation and calibration for performance and memory optimization as well as advanced features like PUB/SUB.

This book starts by providing clear instructions on how to install and fine-tune Redis to work efficiently in your application stack. You will also learn how to maintain persistence, how to optimize Redis to handle different data types, as well as memory usage optimization. You will then learn how to use bulk writes and transactions, as well as publish/subscribe features to get the most out of Redis.

Offering best practices and troubleshooting tips, this book will also show you how to manage and maintain performance. This book finishes by recommending the best client libraries for all major programming languages. By the end of this book you will know how to create blazing fast applications using Redis.

Approach

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.

Who this book is for

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.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

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.

About the Reviewer

Andrea Pavoni is a passionate Italian programmer. He's mostly focused on web and mobile development, always looking for the best tools available. Andrea is also an active member of the Italian Ruby community. He helped in the organization for Ruby Day (2011-2012) and coached at the first Italian Rails Girls event in Rome.

www.PacktPub.com

Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.
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 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.
Support files, eBooks, discount offers and more
http://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across 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 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 nine entirely free books. Simply use your login credentials for immediate access.

Preface

The computing world is changing fast. In this fast-moving world, the only way to survive is to deliver data quickly. We are moving towards a world in which even a second counts and can affect user behavior drastically. That is why the whole NoSQL movement started. NoSQL data stores were able to provide faster access by sacrificing some of the advantages that traditional databases offer. Redis is one of the fastest data stores in the market and is being used by many giants in the web industry.
It is important for software professionals to keep up-to-date with the latest technology offerings and tools in the market, which is critical to gain advantage in business. The main goal of this book is to introduce you to Redis. The book helps you to understand the various configurations and options available in Redis, which could ease your efforts of adding Redis to your application stack.

What this book covers

Choosing your data store (Simple) shows what data store to select from top names like Cassandra, MongoDB, Riak, CouchBase, MemCached, and others, based on your application requirements.
Installing Redis (Simple) focuses on a step-by-step installation procedure of Redis in Linux systems, with commands to test the installation.
Configuring and tuning Redis (Intermediate) helps you understand all configurations available in Redis and how to effectively configure the server to make the most out of it.
Implementing persistence in Redis (Intermediate) defines all the options available in Redis to enable data persistence. You can choose the options based on the data durability you prefer.
Detecting performance bottlenecks (Intermediate) helps you understand the various bottlenecks in Redis and how effectively you can mitigate them to make the most out of your installation.
Performing high-volume writes (Advanced) tells you about high-volume writes into Redis. It helps you to load a large amount of data in very little time, either through pipelining or using the Redis protocol.
Leveraging data types (Simple) helps you understan...

Table of contents

  1. Instant Redis Optimization How-to

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Instant Redis Optimization How-to by Arun Chinnachamy in PDF and/or ePUB format, as well as other popular books in Computer Science & Databases. We have over one million books available in our catalogue for you to explore.