Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Why Riak? Why SoftLayer?

Why Riak? Why SoftLayer?

Riakで何ができるのか?SoftLayer上で動かすと何がさらに嬉しいのか?という基本的な話から、Riakを構成する基本的な技術を解説します。

http://softlayer.connpass.com/event/6864/

UENISHI Kota

July 25, 2014
Tweet

More Decks by UENISHI Kota

Other Decks in Technology

Transcript

  1. ϑΣΠϧΦʔόʔ 1. ϚελʔͷނোΛݕग़ʢ>10s secondsʣ 2. εϨʔϒʹ੾Γସ͑ʢ> ??ʣ 3. ϚελʔΛम෮ (>hours)

    4. Ϛελʔʹ੾Γ໭͠ (> ??) ͏͠Ζ͕Shared DiskͩΖ͏͕ɺShared NothingͩΖ͏͕ɺ DBϓϩηεͷϑΟΤϧΦʔόʔத͸ΞΫηεͰ͖ͳ͍
  2. Quorum ϨϓϦέʔγϣϯ •NݸͷϊʔυʹσʔλΛෳ੡ •ॻࠐ࣌͸ W ݸͷAck͕͋Ε͹Α͍ •ʢ௨ৗɺN͸ح਺ʣ •ಡΈग़࣌͠͸ R ݸͷAck͕͋Ε͹Α͍

    • R + W > N ͱͳ͍ͬͯΕ͹Α͍ σϑΥϧτ: (R, W, N) = (2, 2, 3) ͻͱΓ͘Β͍յΕ͍ͯͯ΋WriteՄೳ
  3. Consistent Hashing • 160-bit Ωʔۭؒ • ۭؒΛ౳෼͢Δ • ύʔςΟγϣϯ͸ϊʔυ͕ ݸผ؅ཧ

    • ϨϓϦΧ͸NݸͷύʔςΟ γϣϯʹίϐʔ͞ΕΔ OPEF OPEF OPEF OPEF hash(“meetups/spamham”) N=3
  4. ࣮ࡍɺੑೳ΋ҧ͏ Bare Metal Virtual “Riak Performance Analysis: Bare Metal vs

    Virtual” July 16, 2013 http://blog.softlayer.com/2013/riak-performance-analysis-bare-metal-v-virtual