Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
RedisCursillos de verano del e-ghost 2012               ˜           ´     Pablo Orduna y Aitor Gomez-Goiri {pablo.orduna,a...
Outline          ´Introduccion      Redis    2 / 37
Outline          ´Introduccion         ´Instalacion      Redis    2 / 37
Outline          ´Introduccion         ´InstalacionEjercicios      Redis    2 / 37
Outline          ´Introduccion         ´InstalacionEjercicios      Redis              ´               Introduccion   3 / 37
´¿Que es Redis?           Remote dictionary server   Redis                      ´                    Introduccion      4 /...
´¿Que es Redis?     ...mixed soul of cache,   Redis                            ´                          Introduccion   6...
´¿Que es Redis?     ...mixed soul of cache, store,   Redis                             ´                           Introdu...
´¿Que es Redis?     ...mixed soul of cache, store, and messaging  server...                                        Salvato...
´¿Que es Redis?     ...mixed soul of cache, store, and messaging  server...                                               ...
Caracter´sticas        ı    Redis                   ´                  Introduccion   7 / 37
Caracter´sticas        ı    Redis                   ´                  Introduccion   8 / 37
Caracter´sticas        ı    Redis                   ´                  Introduccion   9 / 37
Caracter´sticas        ı    Redis                   ´                  Introduccion   10 / 37
Caracter´sticas        ı    Redis                   ´                  Introduccion   11 / 37
Caracter´sticas        ı    Redis                   ´                  Introduccion   12 / 37
Caracter´sticas        ı    Redis                   ´                  Introduccion   13 / 37
Caracter´sticas        ı    Redis                   ´                  Introduccion   14 / 37
+ info
Velocidad    Redis             ´            Introduccion   16 / 37
Velocidad y transacciones            ´   Con el grafico anterior. . .         Sistema       Velocidad      Transaccional   ...
Velocidad    Redis             ´            Introduccion   19 / 37
´Ejemplo practico: WebLab-Deusto  WebLab-Deusto: software de la Universidad de Deusto que  gestiona acceso a laboratorios ...
´Gestion de colas: MySQL I(1 recurso, 150 estudiantes)      Redis                              ´                          ...
´Gestion de colas: redis I(1 recurso, 150 estudiantes)      Redis                              ´                          ...
´Gestion de colas: MySQL II(80 recursos, 150 estudiantes)      Redis                            ´                         ...
´Gestion de colas: redis II(80 recursos, 150 estudiantes)      Redis                            ´                         ...
Outline          ´Introduccion         ´InstalacionEjercicios      Redis             ´               Instalacion   25 / 37
´Instalacion   apt-get install redis-server python-redis   U otra librer´a para crear clientes en el lenguaje que         ...
Outline          ´Introduccion         ´InstalacionEjercicios      Redis    Ejercicios   27 / 37
Caso general                    ´            Aplicacion de chat    Redis          Ejercicios    29 / 37
´Ejercicio 0: Operaciones basicas   Strings   Comandos: setex, setnx, incr...   Usos:        usuarios online        contad...
Ejercicio 1: Amigos online   Sets   Comandos: sadd, smembers, sinter. . .   Usos:              ´        eleccion aleatoria...
Ejercicio 2: propiedades de amigos   Hashes   Comandos: hset, hget, hvals. . .   Usos:        almacenamiento de datos estr...
Ejercicio 3: chatear            ´            ´   Publicacion/subscripcion   Comandos: subscribe, publish. . .   Usos:     ...
´Ejercicio 4: gestion del tiempo   Pipelines   Comandos: multi, exec. . .   Usos:        Env´o de varios comandos en uno  ...
Bibliograf´a I          ı   Sunil Arora.   Redis and python.   http://www.slideshare.net/sunilar0ra/   redis-and-python-at...
Bibliograf´a II          ı   Karl Seguin.   The Little Redis Book.   January 2012.     Redis                  Bibliografia ...
´     Todas las imagenes son propiedad de sus                     ˜   respectivos duenos*, el resto del contenido   ´esta ...
Redis
Redis
Redis
Redis
Upcoming SlideShare
Loading in …5
×

Redis

903 views

Published on

Presentación de Redis en los cursos de verano del e-ghost de 2012.

  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Redis

  1. 1. RedisCursillos de verano del e-ghost 2012 ˜ ´ Pablo Orduna y Aitor Gomez-Goiri {pablo.orduna,aitor.gomez}@deusto.es 18 y 19 de Julio de 2012
  2. 2. Outline ´Introduccion Redis 2 / 37
  3. 3. Outline ´Introduccion ´Instalacion Redis 2 / 37
  4. 4. Outline ´Introduccion ´InstalacionEjercicios Redis 2 / 37
  5. 5. Outline ´Introduccion ´InstalacionEjercicios Redis ´ Introduccion 3 / 37
  6. 6. ´¿Que es Redis? Remote dictionary server Redis ´ Introduccion 4 / 37
  7. 7. ´¿Que es Redis? ...mixed soul of cache, Redis ´ Introduccion 6 / 37
  8. 8. ´¿Que es Redis? ...mixed soul of cache, store, Redis ´ Introduccion 6 / 37
  9. 9. ´¿Que es Redis? ...mixed soul of cache, store, and messaging server... Salvatore Sanfilippo Redis ´ Introduccion 6 / 37
  10. 10. ´¿Que es Redis? ...mixed soul of cache, store, and messaging server... Salvatore Sanfilippo (data structure server, advanced key-value store, etc.) Redis ´ Introduccion 6 / 37
  11. 11. Caracter´sticas ı Redis ´ Introduccion 7 / 37
  12. 12. Caracter´sticas ı Redis ´ Introduccion 8 / 37
  13. 13. Caracter´sticas ı Redis ´ Introduccion 9 / 37
  14. 14. Caracter´sticas ı Redis ´ Introduccion 10 / 37
  15. 15. Caracter´sticas ı Redis ´ Introduccion 11 / 37
  16. 16. Caracter´sticas ı Redis ´ Introduccion 12 / 37
  17. 17. Caracter´sticas ı Redis ´ Introduccion 13 / 37
  18. 18. Caracter´sticas ı Redis ´ Introduccion 14 / 37
  19. 19. + info
  20. 20. Velocidad Redis ´ Introduccion 16 / 37
  21. 21. Velocidad y transacciones ´ Con el grafico anterior. . . Sistema Velocidad Transaccional Concurrente Red MySQL (InnoDB) No S´ı S´ ı S´ ı MySQL (MyISAM) No No S´ ı S´ ı MySQL (Memory) No No S´ ı S´ ı sqlite (Memory) S´ ı S´ı No No sqlite (disco) S´ ı S´ı No No redis S´ ı S´ı S´ ı S´ ı Redis ´ Introduccion 18 / 37
  22. 22. Velocidad Redis ´ Introduccion 19 / 37
  23. 23. ´Ejemplo practico: WebLab-Deusto WebLab-Deusto: software de la Universidad de Deusto que gestiona acceso a laboratorios f´sicos de la misma. ı Regularmente en clase → hasta 60 usuarios concurrentes Este ano → varios cientos de usuarios concurrentes ˜ Redis ´ Introduccion 20 / 37
  24. 24. ´Gestion de colas: MySQL I(1 recurso, 150 estudiantes) Redis ´ Introduccion 21 / 37
  25. 25. ´Gestion de colas: redis I(1 recurso, 150 estudiantes) Redis ´ Introduccion 22 / 37
  26. 26. ´Gestion de colas: MySQL II(80 recursos, 150 estudiantes) Redis ´ Introduccion 23 / 37
  27. 27. ´Gestion de colas: redis II(80 recursos, 150 estudiantes) Redis ´ Introduccion 24 / 37
  28. 28. Outline ´Introduccion ´InstalacionEjercicios Redis ´ Instalacion 25 / 37
  29. 29. ´Instalacion apt-get install redis-server python-redis U otra librer´a para crear clientes en el lenguaje que ı ´ prefirais... (en java Jedis) Redis ´ Instalacion 26 / 37
  30. 30. Outline ´Introduccion ´InstalacionEjercicios Redis Ejercicios 27 / 37
  31. 31. Caso general ´ Aplicacion de chat Redis Ejercicios 29 / 37
  32. 32. ´Ejercicio 0: Operaciones basicas Strings Comandos: setex, setnx, incr... Usos: usuarios online contadores API rate limiting ids unicos Redis Ejercicios 30 / 37
  33. 33. Ejercicio 1: Amigos online Sets Comandos: sadd, smembers, sinter. . . Usos: ´ eleccion aleatoria de noticias, etc. modelar relaciones (followers, following, etc.) amigos online Redis Ejercicios 31 / 37
  34. 34. Ejercicio 2: propiedades de amigos Hashes Comandos: hset, hget, hvals. . . Usos: almacenamiento de datos estructurados Redis Ejercicios 32 / 37
  35. 35. Ejercicio 3: chatear ´ ´ Publicacion/subscripcion Comandos: subscribe, publish. . . Usos: Env´o de mensajes N a M ı Redis Ejercicios 33 / 37
  36. 36. ´Ejercicio 4: gestion del tiempo Pipelines Comandos: multi, exec. . . Usos: Env´o de varios comandos en uno ı Redis Ejercicios 34 / 37
  37. 37. Bibliograf´a I ı Sunil Arora. Redis and python. http://www.slideshare.net/sunilar0ra/ redis-and-python-at-pycon2011, September 2011. Noah Davis and Luke Melia. Redis in practice wiki. http://www.slideshare.net/noahd1/redis-in-practice, December 2010. Tim Lossen. Redis, memory as the new disk. http://www.slideshare.net/tim.lossen.de/ redis-memory-as-the-new-disk, April 2010. Redis Bibliografia 35 / 37
  38. 38. Bibliograf´a II ı Karl Seguin. The Little Redis Book. January 2012. Redis Bibliografia 36 / 37
  39. 39. ´ Todas las imagenes son propiedad de sus ˜ respectivos duenos*, el resto del contenido ´esta licenciado bajo Creative Commons by-sa 3.0. * Andreas, srippon, Andrew Fitzsimon, jfmelero, liftarn, shokunin, mcol, djmx1, MongoDB, Riak, Cassandra, Redis, Membase, HBase, neo4j y CouchDB.

×