Redis
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
4,176
On Slideshare
4,168
From Embeds
8
Number of Embeds
4

Actions

Shares
Downloads
83
Comments
0
Likes
3

Embeds 8

http://www.slideshare.net 4
https://twitter.com 2
http://www.schoox.com 1
http://localhost 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. noSQL - Redis by Ramon Wartala 10 February 2010
  • 2. About Me • CTO Ströer Interactive GmbH • co2alarm.com • Co-founder German Rails Usergroup • Author • Dipl.-Inform. Please contact me @rawar noSQL - Redis
  • 3. • REmote DIctonary Server • Redis is an advanced key-value store • It is similar to memcached, memory based • Keys are strings but values can have types of "NONE", "STRING", "LIST", "SET", "SORTED SETS " • Hosted on http://code.google.com/p/redis/ downloads/ • supports EXPIRE (timeout to keys) noSQL - Redis
  • 4. • Redis server was designed and written by Salvatore Sanfilippo • Redis is written in less then 6000 LoC with ANSI C • semi persistent mode and fully persistent mode • master-slave replication possible • Command reference http:// code.google.com/p/redis/wiki/ CommandReference noSQL - Redis
  • 5. Ruby´isch connectivity http://ohm.keyvalue.org/, Object-hash mapping library for Redis http://github.com/ezmobius/redis-rb , Ruby wrapper by Ezra Zygmuntowicz http://github.com/madsimian/em-redis , Ruby Eventmaschine by Jonathan Broad noSQL - Redis
  • 6. examples creative commons http://www.flickr.com/photos/33306521@N00/3654138580/
  • 7. key-values: simple2.rb noSQL - Redis
  • 8. increment / decrement: counter.rb noSQL - Redis
  • 9. lists: lists2.rb noSQL - Redis
  • 10. sets: sets2.rb noSQL - Redis
  • 11. sorted sets: sorted.rb noSQL - Redis
  • 12. further readings • http://www.paperplanes.de/2009/10/30/ how_to_redis.html • http://blog.grayproductions.net/articles/ lists_and_sets_in_redis • http://www.gittr.com/ • http://gist.github.com/120067 • http://agilewebdevelopment.com/plugins/ acts_as_redis_counter • http://amix.dk/blog/viewEntry/19458 • http://ohm.keyvalue.org/ • http://highscalability.com/product-redis-not- just-another-key-value-store • http://simonwillison.net/2009/Oct/22/redis/ • http://mwrc2009.confreaks.com/13- mar-2009-19-24-redis-key-value-nirvana- ezra-zygmuntowicz.html • http://ozmm.org/posts/sort_in_redis.html • http://www.digitalhobbit.com/2009/11/08/ building-a-twitter-filter-with-sinatra-redis- and-tweetstream/ • http://github.com/nateware/redis-textsearch noSQL - Redis