• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Basho and Riak at GOTO Stockholm:  "Don't Use My Database."
 

Basho and Riak at GOTO Stockholm: "Don't Use My Database."

on

  • 4,272 views

What are common use cases for NoSQL? When should I avoid NoSQL? When is RDBMS just fine? ...

What are common use cases for NoSQL? When should I avoid NoSQL? When is RDBMS just fine?

This presentation, delivered at the GOTO NoSQL Roadshow events in London and Stockholm in November of 2011 by Basho co-founder and COO, Antony Falco, take a no-BS look at the tradeoffs one must make to gain the advantages offered by distributed databases like Riak.

Statistics

Views

Total Views
4,272
Views on SlideShare
4,138
Embed Views
134

Actions

Likes
11
Downloads
35
Comments
1

9 Embeds 134

http://thedataqualitychronicle.org 49
http://paper.li 40
http://a0.twimg.com 18
http://feeds.feedburner.com 10
http://tweetedtimes.com 7
https://twitter.com 6
http://www.twylah.com 2
http://qa28.corp.rockmelt.com 1
https://si0.twimg.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • how is riak document oriented AND key-value?
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Basho and Riak at GOTO Stockholm:  "Don't Use My Database." Basho and Riak at GOTO Stockholm: "Don't Use My Database." Presentation Transcript

    • DON’T USEMYDATABASE PRESENTATION FOR NOSQL ROADSHOW ON NOSQL USE CASES
    • @antonyfalcoANTONY FALCOCOO and Basho Co-Founder
    • CAN WE PLEASE NOT TALK ABOUTBIG DATA?
    • LET’S TALK ABOUTCRITICAL DATA
    • Is your data really thatcritical, dude?
    • ON OFFER• what… is NoSQL? … Riak?• who … uses Riak?• why … should I NOT use Riak? (Or other NoSQL for that matter?)
    • TRUTH Enter the NoSQL JungleYOU ARE HERE
    • what are you prepared to trade?
    • Would you trade….Your current, familiar consistency model for a somewhat alien, but perfectly safe, consistency model and better availability?
    • Would you trade….Storage space for low latency?
    • Would you trade….late night heroics for high availability?
    • Would you trade….35 years of RDBMS success for technology used by a few companies of which you may have heard?
    • Would you trade….Two million developers worldwide for “It’s a piece of plumbing; it has never been a root cause of any of our problems.” Coda Hale, Yammer
    • BEFORE YOU ANSWER, CONSIDER….
    • Can anyonecall RDBMSa failure?
    • IF ANYONEMAKES THESETRADE-OFFSSEEM EASY…..
    • THEY ARELYING!!!
    • Lie # 1: Distributed Systems: Desirable Properties Highly Available Fault Tolerant Low Latency Ops-Friendly Scalable Predictable Any new app must usethis newfangled NoSQL. Wednesday, November 16, 11
    • Lie # 2: Distributed Systems: Desirable Properties Highly Available Fault Tolerant Low Latency Ops-Friendly Scalable PredictableNon-distributed databasesprovide these properties. Wednesday, November 16, 11
    • Lie # 3:MongoDB CassandraCouchDB Riak Neo4J Voldemort Words like “distributed” have “relative” meaning.
    • Lie # 4: The Big One When really II say I want: want: 1. safety 1. speed2. scale out 2. speed 3. speed 3. speed The lie developers tell themselves.
    • REMEMBER At small scale everything works.
    • REMEMBER At small scale everything works. At large scale things start to brea
    • RIAK – THE TECHNOLOGYAn open-source, globally distributed database with trade-offs
    • DISTRIBUTE Replicate client data to your Riak clusters anywhere in the world Clients run Riak clusters inYour data centers
    • RIAK DETAILSDynamo-inspiredmodular – core plus storage (or…) 1) bitcask 2) levelDBDocument-oriented AND key-valueTunable CAP valuesOpen-source and commercial
    • BITCASK AND ydir is atomically updated withTRADEOFF st dat Whe awriteoccurs, thekeTHE LATENCY theloca n tion of thenewe still pre nt on disk, but a ne re dswill usethela st ve se ny w a te rsion a ila va blein thekeydir. AswTradeoff: Index must fit in memory me Latency: All ntua re hash lookup . 1 seek Low ke rgeproce sswill e reads = Re ding ava a ve lly movetheold va + lueissimple a doe ydir, aTRADEOFF: All a ndfromthe , nd lue sn’t e r re ve quiremoretha asingledisk se k. W n rewerekeys must fit in memoryposition, a dthedatausingthefile id, ndsizetha a e t rere elook turne fro d ma ca s, theope ting syste ny se ra m’sfilesystemre d-a a ca a he d chema sthisamuch fa r ope ke ste
    • Who cares about latency? SOA
    • Who cares about latency?Sometimes high latency looks like an outage to the end user.
    • Who cares about latency? I do I do I do I do I do I do I do I do I do I do I do
    • USE CASES“We would not have been 1. Cloud Storage (S3)able to build this applicationwithout node.js and Riak 2. Low-latency interactiveSearch.” appsClipboard 3. Smartphone apps 4. CDN 5. Medical 6. Session Store 7. Gaming 8. Mobile Infrastructure
    • STUFF CO. Real-time Search US Retailer Online Inventory Mochi – casual interactive gaming Social Media Networks“REAL-TIME” APPSAdvantages: fast, reliable, scalable. Distribute to a global audience.
    • DANISH HEALTH SERVICESAdvantages: Doctors manage prescriptions from highly-available servers and, soon,smartphones, 95% cheaper than Oracle, easier to run
    • Telco distributes content to 10 data centersMULTI-TENANT OBJECT STORAGEAdvantages: build competitive services to Amazon, reliable storage, easy to operate
    • Write to Riak Next…sync with each otherSMARTPHONE APPSAdvantages: better quality of service for write-intensive smartphone users; reduceinfrastructure costs
    • A QUICK LITMUS TEST:ARE THE TRADEOFFS WORTH IT?
    • USE RIAK IF YOUNEED…Predictable latencyPredictable scaling profilePredictable operationsand if data unavailability costs thousands of $$$’s/minute or is even more important.
    • DON’T USE RIAK IFYOU NEED…Familiar query patternsFamiliar hiring patternsFamiliar operational problemsand if you don’t have a problem right now.
    • THANK YOU