Redis Miniconf

All about Redis, the swiss army knife of scalable web apps

Redis Memory Optimization

Submitted by Sripathi Krishnan (@sripathikrishnan-1) on Tuesday, 18 March 2014

Section: Troubleshooting Technical level: Intermediate

View proposal in schedule


  1. Diagnose and identify memory problems in Redis
  2. Design data structures to get the best performance from Redis.


The session assumes participants are familiar with Redis and its data structures.

  1. Overview of Redis internal data structues (Integer Set, Zipmap & Ziplist, Hashmap, SkipLists, Double Linked Lists and so on)
  2. What can a developer do to reduce memory usage?
  3. How do you diagnose memory problems in production?

(DRAFT - Will be refined later)

Speaker bio

I am the author of Redis RDB Tools, a library to work with Redis Dump Files. Among other things, rdbtools provides a memory profiler for Redis. Over the years, Rdbtools has helped many companies to diagnose memory problems.

I am also an active member of the Redis community. I am frequently seen on StackOverflow, answering questions on Redis. Here is quick link to all my answers on stackoverflow

By day, I am Co-founder and Director Engineering at HashedIn Technologies. My role involves designing large scale systems with great performance and high availability. I routinely use Redis as an object cache, as a queue, and for its pub-sub capabilities.



  • Subhash M (@subhash) 5 years ago

    Looking forward for this session. When is it?

    • Kiran Jonnalagadda (@jace) Reviewer 5 years ago

      Most likely fourth weekend of April, pending confirmation of venue availability. Our earlier planned dates have gone for a toss because of the elections.

  • Kiran Jonnalagadda (@jace) Reviewer 5 years ago

    Sripathi, would you like to also host a beginner’s workshop, introducing the basic data structures and CLI use? It’ll help people with a less than complete understanding get up to speed (including people like me who use Redis via higher level abstractions but don’t know how it works under the hood).

    • Sripathi Krishnan (@sripathikrishnan-1) Proposer 5 years ago

      @Kiran - yes, I’d be interested. I’ll put in a proposal in a couple of days.

      • Sripathi Krishnan (@sripathikrishnan-1) Proposer 5 years ago

        @Kiran - I am trying to put a proposal, but had a some questions.

        Is there an alloted duration for a workshop? 30 mins / an hour or more? Also, is there a particular format that you follow for workshops? Is it meant to be hands-on, or are you’ll totally flexible?

        My apologies if this is already answered somewehere. I tried to search, but couldn’t find the necessary information.

        • Kiran Jonnalagadda (@jace) Reviewer 5 years ago

          So sorry, Sripathi. I didn’t see this earlier because Funnel only emails comments to the people you respond to, which in this case is yourself. I’ll get that fixed.

          We typically do workshops for 3 hours so that there is sufficient time for getting deep into the material. Workshops are interactive. Everyone gets a power strip and internet connection, and can be asked to follow instructions on screen or try something out and come back with the results. You can lead it by speaking and demonstrating throughout, or by handing out assignments and then walking around the audience to see how they are doing.

Login with Twitter or Google to leave a comment