Redis Articles

General Redis tips and hints.

  1. Redis Pub/Sub: Overview Guide
    A high-level overview to pub/sub for scaling message distribution.
  2. Redis Pub/Sub: Howto Guide
    Code samples and guide to Redis pub/sub using Node.js.
  3. Intermediate Redis
    Picking the right data structure and Big O notation.
  4. Lua: A Guide for Redis Users
    Using Lua to supercharge Redis.
  5. Connectivity Troubleshooting
    Having trouble connecting to your Redis server?
  6. "Missing" Keys on Redis Slaves
    Is your Redis slave missing keys? Probably not. Read on to find out why.
  7. Deleting Large Objects from Redis
    Delete large objects of all types efficiently.
  8. "Getaddrinfo: Name or service not known" with Redis
    A common problem with Redis resolving private network addresses.

RedisMonitor Help

Using the free RedisMonitor service with your own Redis server.

  1. Securing RedisMonitor
    How to securely use RedisMonitor with your non-RedisGreen Redis server.
  2. Resque Dashboard
    How to use the free Resque dashboard with your RedisMonitor.
  3. "Unreachable" Troubleshooting
    Is RedisMonitor reporting your server as "unreachable"?

Learn the Redis Protocol

  1. A Beginner's Guide to the Redis Protocol
    A gentle introduction to RESP - the REdis Serialization Protocol.
  2. Reading and Writing Redis Protocol in Go
    Learn how the Redis Serialization Protocol works by implementing a simple reader and writer in Go.

Product Updates

For RedisGreen and RedisMonitor product updates and other announcements, see our Changelog.

Lua Script Library

Public domain Lua scripts for your use or reference.

  1. hgetsmembers
    Look up the contents of a Set in a Hash
  2. hincrbyex
    Increment a value in a hash only if it exists
  3. hmsetnx
    Set multiple values of a hash only if the key does not exist
  4. incrbyex
    Increment a value only if it exists
  5. ratelimit
    Simple rate limiter
  6. runningavg
    Keep a running calculation of the average value of a series
  7. sismembermulti
    Check for membership in any number of sets.
  8. smemhashes
    Gets the contents of all the Hashes whose keys are in a Set
  9. zpop
    Removes and returns the top value in a zset, with its score.

Want to share your own? Fork us on GitHub.

Special thanks to Aaron Blohowiak for letting us give some new life to the scripts from his old EVALSHA site.