Redis cookbook

Two years since its initial release, Redis already has an impressive list of adopters, including Engine Yard, GitHub, Craigslist, and Digg. This open source data structure server is built for speed and flexibility, making it ideal for many applications. If you're using Redis, or considering it...

Descripción completa

Detalles Bibliográficos
Autor principal: Macedo, Tiago (-)
Otros Autores: Oliveira, Fred, Oram, Andrew, Hendrickson, Mike
Formato: Libro electrónico
Idioma:Inglés
Publicado: Beijing : O'Reilly 2011.
Edición:First edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628291706719
Tabla de Contenidos:
  • Table of Contents; Preface; Introduction; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgements; Chapter 1. An Introduction to Redis; When to use Redis; Problem; Solution; Are your application and data a good fit for NoSQL?; Don't believe the hype; Installing Redis; Problem; Solution; Discussion; Compiling From Source; Installing on Linux; Installing on Windows; Installing on Mac OS X; Installing through MacPorts; Installing through Homebrew; Using Redis Data Types; Problem; Solution; Discussion; Strings; Lists; Hashes
  • Sets and Sorted SetsChapter 2. Clients; Using Redis from the Command Line; Problem; Solution; Discussion; Using Redis from Python with redis-py; Problem; Solution; Discussion; Using Redis from Ruby with redis-rb; Problem; Solution; Discussion; Using Redis with Ruby on Rails; Problem; Solution; Discussion; Adding Redis functionality to ActiveRecord models; Chapter 3. Leveraging Redis; Using Redis as a Key/Value Store; Problem; Solution; Discussion; Storing application usage counters; Storing object data in hashes; Storing user "Circles" using sets; Inspecting Your Data; Problem; Solution
  • DiscussionImplementing OAuth on Top of Redis; Problem; Solution; Discussion; Initial setup; Getting a request token; Redirections and consent; Exchanging the request token for an access token; API Access; Using Redis's Pub/Sub Functionality to Create a Chat System; Problem; Solution; Discussion; Installing the necessary software; Implementing the server side code; Implementing the client side code; Further improvements; Implementing an Inverted-Index Text Search with Redis; Problem; Solution; Discussion; Indexing; Searching; Scoring; Other improvements; Analytics and Time-Based Data; Problem
  • SolutionDiscussion; Implementing a Job Queue with Redis; Problem; Solution; Discussion; Enqueueing; Dequeueing; Extending Redis; Problem; Solution; Discussion; Chapter 4. Redis Administration and Maintenance; Configuring Persistence; Problem; Solution; Discussion; Snapshotting; AOF; Starting a Redis Slave; Problem; Solution; Discussion; Handling a Dataset Larger Than Memory; Problem; Solution; Discussion; Upgrading Redis; Problem; Solution; Discussion; Backing up Redis; Problem; Solution; Discussion; Snapshotting; Append-Only Log (AOF); VM; Sharding Redis; Problem; Solution; Discussion
  • Appendix. Finding Help