Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Redis, your data on steroids

Redis, your data on steroids

A quick view on the benefits of using redis with a dev and/or ops hat on. #hacktheelections

Ffd7518e97f04b63220213947e9a3cfc?s=128

Nils De Moor

May 24, 2014
Tweet

Transcript

  1. redis Nils De Moor - @ndemoor #hacktheelections

  2. None
  3. Text 3 Text2 Text1 Hi! I’m Nils De Moor, CTO

    & cofounder at WooRank. This is our dream team. That’s me!
  4. yrs old nations peeps avg age 4 8 20 27

  5. visitors/day reports/month criteria/report 40k 600k 120

  6. Text 3 Text2 Text1

  7. Text 3 Text2 Text1

  8. Text 3 Text2 Text1

  9. Text 3 Text2 Text1

  10. Text 3 Text2 Text1

  11. None
  12. Text 3 Text2 Text1 Now this is the story all

    about how
  13. LAMP

  14. LAMP memcache

  15. MySQL

  16. Scaling up

  17. Sorting complexities

  18. Serialize!

  19. Uhm...

  20. Memcache

  21. Memcache

  22. None
  23. strings key  value get, set, expire, ttl, (in|de)cr(by), getrange,

    bitop, bitcount, setbit
  24. hashes field1  value1 hset, hget, hgetall, hkeys, hvals, hlen,

    hincrby field2  value2 ... key:
  25. lists a  b  c  b  d

     a  e lpush, lpop, rpush, rpop, llen, lindex, lset, lrange
  26. sets a sadd, srem, spop, sunion, sdiff, sinter, sscan, smove,

    sismember b c d e f
  27. sorted sets zadd, zcard, zcount, zrange(by(score|lex)), z(inter|union)store [AGGREGATE SUM|MIN|MAX] b

    a e c d 1000 100 100 10 -10
  28. HyperLogLog pfadd, pfcount, pfmerge a b c a

  29. Text2 Text1 There’s more!

  30. Text2 Text1 Transactions LUA Scripting Notifications Pub/Sub

  31. sorted sets Operations

  32. RDB AOF Persistence or

  33. Text 3 Text2 Text1

  34. RDB AOF Persistence AND

  35. None
  36. Replication master slave slave slave’ slave’

  37. master

  38. master slave

  39. master slave

  40. master master

  41. None
  42. Thank You!

  43. Photo Credit http://www.soullifestyle.com/sites/default/files/styles/1240/public/products/slideshow/image/Rome%20Floor %20lamp%20Antique%20Bronze%20Dark%20Grey%20Shade.jpg http://i1.sndcdn.com/artworks-000040878777-risea1-original.jpg?30a2558 http://24.media.tumblr.com/tumblr_m40zdxT4fP1qght35o6_1280.jpg http://4.bp.blogspot.com/-SZyqJk4rspw/Ud7jZGvx8YI/AAAAAAAAFPI/Wl8g8AvfQWQ/s1600/Tower+of+Hanoi+- +Chedi+2.jpg http://www.creativeplayretailer.com/assets/imgrepo/manufacturers/Matryoshka%20Madness%20-%20Cutie %20Matryoshka.jpg

    http://weedactivist.com/wp-content/uploads/more.1.png http://www.dexigner.com/news/image/19712/GM_Seoul_Advanced_Design_Studio http://universal-info.com/wp-content/uploads/2011/11/choice2.jpg http://fontawesome.io