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

小宇宙は燃えているか?

 小宇宙は燃えているか?

JAZUG #7 LT の資料

Tatsuya Sato

July 25, 2017
Tweet

More Decks by Tatsuya Sato

Other Decks in Technology

Transcript

  1. ࠓ೔ͷ͓࿩ • Azure Cosmos DBΛۀ຿Ͱ࢖ͬͯΈͨΒɺյ ͪ͠Όͬͨɻ • ΍ͬͨ͜ͱɺࠔͬͨʢͯΔʣ͜ͱͷ࿩ • Cosmos

    DBͷ࢖͍ํͷ࿩͸͠·ͤΜɻ • υΩϡϝϯτΛಡΜͰɺ࢖ͬͯΈͯ͘ ͍ͩ͞ɻ 5
  2. Azure Cosmos DBͷಛ௃ • ϚϧνσʔλϞσϧ • SQL, Mongo API, Key-Value,

    Graph • Ϧʔδϣϯލ͍ͩϨϓϦέʔγϣϯ • ߴ͍SLA • ಉ͡Ϧʔδϣϯ಺Ͱ͋Ε͹ಡΈࠐΈ10msҎ ಺Λ99%Ͱอূ 11
  3. DocumentDBʹMongoAPI͔ΒಡΈॻ͖͢Δ࣌ͷϙΠϯτ • ঢ়گʹΑΓಠࣗʹIDΛ࠾൪͢Δඞཁ͋Γ • DocumentDB ͕෇͚ΔID "_rid" ͸Mongo API͔Β͸࢖͑ͳ͍ɻ •

    ͦͷࡍͷIDͷ໊લ͸ɺDocumentDB͕෇͚Δଐੑ໊ͱҟͳΔ΋ ͷ͕ྑ͍ɻ • ಺෦Ͱ໊લ͕มߋ͞Εͯ͠·͏ɻʢྫɿ _rid -> $_rid ʣ • DocumentDB APIͱMongo APIͰ࢖͏͜ͱΛߟྀͨ͠ํ͕ྑ͍ɻ 28
  4. ·ͱΊ • MongoDB ʹDocumentDB APIͰσʔλΛೖΕΔͱ ʢࠓͷͱ͜Ζʣ2౓ͱ࢖͑·ͤΜɻ • DocumentDB ͳΒMongo APIͰ΋DocumentDB

    API Ͱ΋ಡΈॻ͖OK • DocumentDBͷ৔߹ɺMongoDBͱυΩϡϝϯτͷߏ ଄͕ҟͳΔͷͰσʔλઃܭ࣌ʹ஫ҙ͠·͠ΐ͏ɻ 29