Redis -- Memory as the New Disk

13,722
-1

Published on

lightning talk at nosqleu 2010 (london)

http://nosqleurope.com/

Published in: Technology
1 Comment
59 Likes
Statistics
Notes
No Downloads
Views
Total Views
13,722
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
361
Comments
1
Likes
59
Embeds 0
No embeds

No notes for slide






























  • Redis -- Memory as the New Disk

    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
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×