Redis Essentials

Maxwell Dayvson Da Silva, Hugo Lopes Tavares

  • 出版商: Packt Publishing
  • 出版日期: 2015-09-08
  • 售價: $1,770
  • 貴賓價: 9.5$1,682
  • 語言: 英文
  • 頁數: 230
  • 裝訂: Paperback
  • ISBN: 1784392456
  • ISBN-13: 9781784392451
  • 相關分類: Key-Value Store
  • 海外代購書籍(需單獨結帳)

商品描述

Harness the power of Redis to integrate and manage your projects efficiently

About This Book

  • Learn how to use Redis's data types efficiently to manage large data sets
  • Scale Redis to multiple servers with Twemproxy, Redis Sentinel, and Redis Cluster
  • A fast-paced guide, full of real-world examples to help you get the best out of the features offered by Redis

Who This Book Is For

If you are a competent developer with experience of working with data structure servers and want to boost your project's performance by learning about features of Redis, then this book is for you.

What You Will Learn

  • Build analytics applications using Bitmaps and Hyperloglogs
  • Enhance scalability with Twemproxy, Redis Sentinel, and Redis Cluster
  • Build a Time Series implementation in Node.js and Redis
  • Create your own Redis commands by extending Redis with Lua
  • Get to know security techniques to protect your data (SSL encryption, firewall rules, basic authorization)
  • Persist data to disk and learn the trade-offs of AOF and RDB
  • Understand how to use Node.js, PHP, Python, and Ruby clients for Redis
  • Avoid common pitfalls when designing your next solution

In Detail

Redis is the most popular in-memory key-value data store. It's very lightweight and its data types give it an edge over the other competitors. If you need an in-memory database or a high-performance cache system that is simple to use and highly scalable, Redis is what you need.

Redis Essentials is a fast-paced guide that teaches the fundamentals on data types, explains how to manage data through commands, and shares experiences from big players in the industry.

We start off by explaining the basics of Redis followed by the various data types such as Strings, hashes, lists, and more. Next, Common pitfalls for various scenarios are described, followed by solutions to ensure you do not fall into common traps.

After this, major differences between client implementations in PHP, Python, and Ruby are presented. Next, you will learn how to extend Redis with Lua, get to know security techniques such as basic authorization, firewall rules, and SSL encryption, and discover how to use Twemproxy, Redis Sentinel, and Redis Cluster to scale infrastructures horizontally. At the end of this book, you will be able to utilize all the essential features of Redis to optimize your project's performance.

Style and approach

A practical guide that offers the foundation upon which you can begin to understand the capabilities of Redis using a step-by-step approach. This book is full of real-world problems and in-depth knowledge of the concepts and features of Redis, with plenty of examples.

商品描述(中文翻譯)

發揮 Redis 的威力,有效整合和管理您的專案

關於本書

- 學習如何有效使用 Redis 的資料類型來管理大型資料集
- 使用 Twemproxy、Redis Sentinel 和 Redis Cluster 將 Redis 擴展到多個伺服器
- 本書充滿了實際範例,以快節奏的方式幫助您充分利用 Redis 提供的功能

本書適合對資料結構伺服器有經驗的能力開發人員,並希望通過學習 Redis 的功能來提升專案性能的人。

您將學到什麼

- 使用位圖和 Hyperloglogs 建立分析應用程式
- 通過 Twemproxy、Redis Sentinel 和 Redis Cluster 提升可擴展性
- 在 Node.js 和 Redis 中建立時間序列實現
- 通過擴展 Redis 使用 Lua 創建自己的 Redis 命令
- 了解保護資料的安全技術(SSL 加密、防火牆規則、基本授權)
- 將資料持久化到磁碟並了解 AOF 和 RDB 的權衡
- 了解如何使用 Node.js、PHP、Python 和 Ruby 客戶端進行 Redis
- 在設計下一個解決方案時避免常見問題

詳細內容

Redis 是最受歡迎的內存鍵值資料庫。它非常輕量級,並且其資料類型使其在競爭對手中佔有優勢。如果您需要一個內存資料庫或高性能快取系統,它使用簡單且高度可擴展,那麼 Redis 就是您所需要的。

《Redis Essentials》是一本快節奏的指南,教授資料類型的基礎知識,解釋如何通過命令管理資料,並分享來自業界大型玩家的經驗。

我們首先解釋 Redis 的基礎知識,然後介紹各種資料類型,例如字串、哈希、列表等。接下來,描述了各種情境的常見陷阱,並提供解決方案,以確保您不會陷入常見陷阱。

之後,介紹了 PHP、Python 和 Ruby 中客戶端實現之間的主要差異。接下來,您將學習如何使用 Lua 擴展 Redis,了解基本授權、防火牆規則和 SSL 加密等安全技術,並發現如何使用 Twemproxy、Redis Sentinel 和 Redis Cluster 水平擴展基礎架構。在本書結尾,您將能夠利用 Redis 的所有基本功能來優化專案的性能。

風格和方法

這是一本實用指南,以逐步的方式提供了理解 Redis 能力的基礎。本書充滿了實際問題和對 Redis 概念和功能的深入了解,並提供了大量範例。