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

Redis -- Memory as the New Disk

on

  • 14,315 views

lightning talk at nosqleu 2010 (london)

lightning talk at nosqleu 2010 (london)

http://nosqleurope.com/

Statistics

Views

Total Views
14,315
Views on SlideShare
10,499
Embed Views
3,816

Actions

Likes
56
Downloads
343
Comments
1

21 Embeds 3,816

http://nosql.pl 2164
http://blog.nosqlfan.com 1105
http://nosql.mypopescu.com 269
http://www.cnblogs.com 110
http://www.slideshare.net 80
http://nosqlpl.tumblr.com 63
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 Redis -- Memory as the New Disk Presentation Transcript

  • memory as the new disk
  • ☞redis tim lossen @nosqleu
  • “memory is the new disk, disk is the new tape” — jim gray
  • strengths harddisk - durability - capacity - sequential access (= “tape”) memory - random access - low latency
  • relative latency register 0.1 cache 1 memory 10 harddisk 1.000.000 “latency trumps all” — chris saari
  • relative latency register 0.1 cache 1 memory 10 harddisk 1.000.000 “latency trumps all” — chris saari
  • flickr.com/photos/36688133@N00/3655892919
  • berlin - london easyjet 1 hour
  • berlin - london f-16 6 minutes easyjet 1 hour
  • berlin - london f-16 6 minutes easyjet 1 hour eurostar 10 hours
  • berlin - london f-16 6 minutes easyjet 1 hour eurostar 10 hours broken car 114 years
  • flickr.com/photos/64498037@N00/3107322938
  • flickr.com/photos/64498037@N00/3107322938
  • redis flickr.com/photos/atzu/2645776918
  • benchmark 4897 GET/s 5128 SET/s code.google.com/p/redis/wiki/Benchmarks
  • flickr.com/photos/mbiddulph/3836727468
  • sheeva plug flickr.com/photos/mbiddulph/3836727468
  • sheeva plug $99flickr.com/photos/mbiddulph/3836727468
  • features data structures - integers, strings - lists, sets, hashes - channels atomic operations - get, set, increment - push, pop ...
  • features virtual memory - keys always in memory - values swapped in as needed durability - append-only log file - background snapshots replication
  • 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
  • clients - redis-cli, telnet - c, c# - ruby, python, perl - java, scala - php - [many more ...]
  • summary - don’t cross the red line - avoid magic - redis is simple & very flexible
  • summary - don’t cross the red line - avoid magic - redis is simple & very flexible - ..... and pretty fast as well☺
  • q&a
  • thanx! ❦ @tlossen
  • links slideshare.net/guest22d4179/ latency-trumps-all code.google.com/p/redis github.com/antirez/redis rediscookbook.org
  • one-minute install > wget redis.tgz > tar xzf redis.tgz > cd redis > make > ./redis-server