Quantcast
Viewing all articles
Browse latest Browse all 36

Use Redis in Odd and Unusual Ways - Percona LIVE! Europe 2015

00_external_references.md

Slidedeck: https://www.slideshare.net/itamarhaber/use-redis-in-odd-and-unusual-ways

  1. Redis Watch - a periodic newsletter about everything Redis: http://bit.ly/RedisWatch
  2. Redis homepage: https://redis.io/
  3. Redis source: https://github.com/antirez/redis
  4. Antirez (a.k.a Salvatore Sanfilippo) - Redis' creator - blog: http://antirez.com/
  5. Redis Labs - the home of Redis: https://redislabs.com
  6. The Redis Manifesto: https://github.com/antirez/redis/blob/unstable/MANIFESTO
  7. Latency Numbers Every Programmer Should Know: https://gist.github.com/jboner/2841832
  8. Programming Languages Benchmark: https://attractivechaos.github.io/plb/
  9. Redis self-documented configuration file: http://download.redis.io/redis-stable/redis.conf
  10. Using hashes to abstract a very memory efficient plain key-value store on top of Redis: http://redis.io/topics/memory-optimization#using-hashes-to-abstract-a-very-memory-efficient-plain-key-value-store-on-top-of-redis
  11. bitmapist - "Implements a powerful analytics library using Redis bitmaps" #Python: https://github.com/Doist/bitmapist
  12. minuteman - "Fast analytics using Redis" #Ryby: https://github.com/elcuervo/minuteman
  13. bitesized - "Redis bitmap powered analytics" #Go: https://github.com/sent-hil/bitesized
  14. Geohash Wikipedia article: https://en.wikipedia.org/wiki/Geohash
  15. GEOADD doc page: http://redis.io/commands/geoadd
  16. HLL Intersections from Neustar Research: http://research.neustar.biz/2012/12/17/hll-intersections-2/
  17. Counting unique items fast – Better intersections with MinHash (read parts 1 & 2 first): http://dsinpractice.com/2015/09/15/counting-unique-items-fast-better-intersections-with-minhash/
  18. Redis Keyspace Notifications: http://redis.io/topics/notifications
  19. Disque - "a distributed message broker": https://github.com/antirez/disque
  20. Interactive Redis in your browser: http://try.redis.io/
  21. Redis Labs Enterprise Cluster downloads page: https://redislabs.com/redis-enterprise-downloads
  22. Redis clients (partial list): http://redis.io/clients
01_Redis_Keys_in_RAM.md

Redis Keys in RAM

Image may be NSFW.
Clik here to view.
image 1

by DR.ediseuss. Some rights resevered.

Adapted from Dr. Seuss' "Green Eggs and Ham".

Text: https://www.site.uottawa.ca/~lucia/courses/2131-02/A2/trythemsource.txt, art copyrighted by publisher.

Image may be NSFW.
Clik here to view.
image 2

I am San. I am San. San I am.

That San-I-am! That San-I-am! I do not like that San-I-am!

Do you like Redis keys in RAM?

I do not like them San-I-am I do not like Redis keys in RAM.

Image may be NSFW.
Clik here to view.
image 3

Would you like them large* or small?

I would not like them large or small. I would not like them not at all. I do not like Redis keys in RAM. I do not like them San-I-am.

Image may be NSFW.
Clik here to view.
image 4

Would you like them as a String? Would you serialize everything?

I do not like them as a String. I do not like to serialize things. I do not like them large or small. I do not like them not at all. I do not like Redis keys in RAM. I do not like them San-I-am.

Image may be NSFW.
Clik here to view.
image 5

Would you like them in a Hash? Would you like a Hash as cache?

Not in a Hash. Not as a cache. Not as a String. No serialized, no anything. I do not want them large or small. I do not want them, not at all. I do not want Redis keys in RAM. I do not want them, San-I-am.

Image may be NSFW.
Clik here to view.
image 6

Would you want them as a List instead? Do you want to access tail, body and head?

Not as a List. Not as a Hash. Not as a String. Not as a cache. Small or large I will have naught. Goodbye San-I-am and thanks a lot.

Image may be NSFW.
Clik here to view.
image 7

Would you? Could you? As a Set? Get the difference! Store a union! Or just intersect...

I would not, could not, as a Set.

You may like them. You'll see for sure. You may like Sorted Sets by score?

Image may be NSFW.
Clik here to view.
image 8

I would not, could not by a score. No more Sets! I say no more! I do not like them as a List Stop this now - I do insist. I do not like them as String or Hash I do not like an in-memory database or cache. I do not want Redis keys in RAM. I do not want them, San-I-am.

You do not like them. So you say. http://try.redis.io! Try them! And you may. Try them and you may, I say.

San! If you will let me be, I will try them. You will see.

Image may be NSFW.
Clik here to view.
image 9

Say! I like Redis keys in RAM! I do! I like them, San-I-am! So I will have them as a String. And as a Hash, a List or anything. And as a Set - both unordered and an ordered one. Say! Data structures are so much FUN!

I do so like Redis keys in RAM Thank you! Grazie, San-I-am

  • Keys in Redis can be up to 512MB and are binary safe. Simple string values can be up to 512MB and are binary safe as well. Other data structures can hold 2^32 elements, each up to 512MB.
Redis_Keys_in_RAM_01.png
Image may be NSFW.
Clik here to view.
Redis_Keys_in_RAM_01.png
Redis_Keys_in_RAM_02.png
Image may be NSFW.
Clik here to view.
Redis_Keys_in_RAM_02.png
Redis_Keys_in_RAM_03.png
Redis_Keys_in_RAM_04.png
Redis_Keys_in_RAM_05.png
Redis_Keys_in_RAM_06.png
Redis_Keys_in_RAM_07.png
Redis_Keys_in_RAM_08.png
Redis_Keys_in_RAM_09.png

Viewing all articles
Browse latest Browse all 36

Trending Articles