E-book details

Instant Redis Optimization How-to. Learn how to tune and optimize Redis for high performance

Instant Redis Optimization How-to. Learn how to tune and optimize Redis for high performance

Arun Chinnachamy

Ebook
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.
  • Instant Redis Optimization How-to
    • 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...
        • Theres 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
  • Title: Instant Redis Optimization How-to. Learn how to tune and optimize Redis for high performance
  • Author: Arun Chinnachamy
  • Original title: Instant Redis Optimization How-to. Learn how to tune and optimize Redis for high performance
  • ISBN: 9781782164814, 9781782164814
  • Date of issue: 2013-05-23
  • Format: Ebook
  • Item ID: e_3bf3
  • Publisher: Packt Publishing