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

NoSQL概論

UENISHI Kota
September 11, 2015

 NoSQL概論

High-level overview on NoSQL

UENISHI Kota

September 11, 2015
Tweet

More Decks by UENISHI Kota

Other Decks in Technology

Transcript

  1. ୭ʁ • @kuenishi • Github, Twitter, etc • ෼ࢄγεςϜྺ7೥ •

    Bashoδϟύϯͷํ͔Βདྷ·ͨ͠ • Riak CSͷ։ൃ • ࠷ۙ͸τϥϯβΫγϣϯʹڵຯ ͕͋Γ·͢
  2. εέʔϧΞ΢τͱ଱ނোੑ •Q. 1୆ͷϊʔυͷނো֬཰Λ p ͱ͢Δͱɺ n ୆ͷΫϥελ͕શͯ ਖ਼ৗಈ࡞͍ͯ͠Δ֬཰͸ʁ 1. 1

    - p^n 2. p^n 3. (1 - p)^n •εέʔϧ͕େ͖͍ͱɺͲ͔͕͜΄΅ඞͣյΕ͍ͯΔঢ়ଶʹͳΔ •෦෼ނো͕ى͖͍ͯͯ΋શମ͕ਖ਼͘͠ಈ࡞͢Δઃܭ͕ඞཁ •ϨϓϦέʔγϣϯʹΑΔࣗಈతͳϑΣΠϧΦʔόʔͳͲ͕ඞཁ
  3. ਖ਼ৗಈ࡞ͷ֬཰ n \ p 0.1 0.01 0.001 1 0.9 0.99

    0.999 10 0.348678440 0.904382075 0.990044880 100 0.000026561 0.366032341 0.904792147 1000 0 0.000043171 0.367695424 ※༗ޮ਺ࣈ…
  4. ෳ੡ͷٕज़ ෳ੡ͷλΠϓ ނোͳͲͷલఏ Master-slave ಉظ ωοτϫʔΫ͕ނোͨ͠Βࢭ·Δ Master-slave ඇಉظ ωοτϫʔΫ͕ނোͨ͠Β σʔλ͕ෆ੔߹͢Δ͔΋

    Consensus (Strong Consistency) ωοτϫʔΫ͕ނোͨ͠ΒҰ෦ಈ࡞ Eventual Consistency ωοτϫʔΫ͕ނোͯ͠΋׬શಈ࡞