Redis -- Memory as the New Disk
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Redis -- Memory as the New Disk

on

  • 14,437 views

lightning talk at nosqleu 2010 (london)

lightning talk at nosqleu 2010 (london)

http://nosqleurope.com/

Statistics

Views

Total Views
14,437
Views on SlideShare
10,596
Embed Views
3,841

Actions

Likes
56
Downloads
345
Comments
1

21 Embeds 3,841

http://nosql.pl 2164
http://blog.nosqlfan.com 1121
http://nosql.mypopescu.com 269
http://www.cnblogs.com 115
http://www.slideshare.net 80
http://nosqlpl.tumblr.com 67
http://www.iredis.com 7
http://webcache.googleusercontent.com 3
http://www.byywee.com 2
http://feed.feedsky.com 2
http://web.archive.org 1
http://blog.csdn.net 1
http://www.twylah.com 1
http://mbot-2.local 1
http://cache.baidu.com 1
http://feeds.feedburner.com 1
http://paper.li 1
http://www.taaza.com 1
http://www.cheval-chevaux.com 1
http://translate.googleusercontent.com 1
http://www.verydemo.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />

Redis -- Memory as the New Disk Presentation Transcript

  • 1. memory as the new disk
  • 2. ☞redis tim lossen @nosqleu
  • 3. “memory is the new disk, disk is the new tape” — jim gray
  • 4. strengths harddisk - durability - capacity - sequential access (= “tape”) memory - random access - low latency
  • 5. relative latency register 0.1 cache 1 memory 10 harddisk 1.000.000 “latency trumps all” — chris saari
  • 6. relative latency register 0.1 cache 1 memory 10 harddisk 1.000.000 “latency trumps all” — chris saari
  • 7. flickr.com/photos/36688133@N00/3655892919
  • 8. berlin - london easyjet 1 hour
  • 9. berlin - london f-16 6 minutes easyjet 1 hour
  • 10. berlin - london f-16 6 minutes easyjet 1 hour eurostar 10 hours
  • 11. berlin - london f-16 6 minutes easyjet 1 hour eurostar 10 hours broken car 114 years
  • 12. flickr.com/photos/64498037@N00/3107322938
  • 13. flickr.com/photos/64498037@N00/3107322938
  • 14. redis flickr.com/photos/atzu/2645776918
  • 15. benchmark 4897 GET/s 5128 SET/s code.google.com/p/redis/wiki/Benchmarks
  • 16. flickr.com/photos/mbiddulph/3836727468
  • 17. sheeva plug flickr.com/photos/mbiddulph/3836727468
  • 18. sheeva plug $99flickr.com/photos/mbiddulph/3836727468
  • 19. features data structures - integers, strings - lists, sets, hashes - channels atomic operations - get, set, increment - push, pop ...
  • 20. features virtual memory - keys always in memory - values swapped in as needed durability - append-only log file - background snapshots replication
  • 21. implementation - 10k lines of pure ansi c poetry - no erlang, no javascript, no xml, no map-reduce, no hash rings, no merkle trees, no paxos, no vector clocks, no gossip protocol, no auto scaling, no friggin magic
  • 22. clients - redis-cli, telnet - c, c# - ruby, python, perl - java, scala - php - [many more ...]
  • 23. summary - don’t cross the red line - avoid magic - redis is simple & very flexible
  • 24. summary - don’t cross the red line - avoid magic - redis is simple & very flexible - ..... and pretty fast as well☺
  • 25. q&a
  • 26. thanx! ❦ @tlossen
  • 27. links slideshare.net/guest22d4179/ latency-trumps-all code.google.com/p/redis github.com/antirez/redis rediscookbook.org
  • 28. one-minute install > wget redis.tgz > tar xzf redis.tgz > cd redis > make > ./redis-server