1 / 36

Explore the Cosmos (DB)

Learn about Azure Cosmos DB with Cloud Developer Advocate Jeremy Likness at Microsoft. Explore the benefits of NoSQL databases, turnkey global distribution, and various consistency models in this comprehensive guide. Discover how to create and manage a Cosmos DB instance with serverless capabilities, ensuring low latency, high availability, and elastic scalability. Dive into demos, performance tips, and resources to harness the power of Cosmos DB effectively. Join the journey to discover the cosmos through cutting-edge database technology.

judye
Download Presentation

Explore the Cosmos (DB)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Explore the Cosmos (DB) Jeremy Likness Cloud Developer Advocate

  2. Jeremy Likness Cloud Dev Advocate @ Microsoft 20 Year Professional Dev https://blog.jeremylikness.com/ @JeremyLikness Jeremy.Likness@microsoft.com

  3. https://aka.ms/advocates @azureAdvocates https://aka.ms/cosmos-docs

  4. “We are a way for the cosmos to know itself.” -Carl Sagan

  5. “But this is how we’ve always done it.” -Developer

  6. Disconnect: Relational vs. Domain Relational Database ORM Object Object

  7. Introducing Not Only SQL: NoSQL

  8. Key/Value 🗝

  9. Column 🏛

  10. Document 📄

  11. Graph 📈

  12. Advantages 🗝 🏛 📄 📈

  13. Demo: Create CosmosDB

  14. Introducing Serverless NoSQL with Azure Cosmos DB.

  15. Turnkey Global Distribution Learn more: https://jlik.me/ckw

  16. Turnkey Global Distribution Elastic scale out of storage and throughput

  17. Turnkey Global Distribution Elastic scale out of storage and throughput Guaranteed 99th percentile low latency Prefix Strong Bounded Staleness Session Eventual <10ms <10ms Indexed Writes (1 KB) <10ms + 2RTT <10ms <10ms <10ms <10ms <10ms <10ms <10ms Reads (1 KB)

  18. Turnkey Global Distribution Elastic scale out of storage and throughput Guaranteed 99th percentile low latency Five well-defined consistency models Learn more: Session Bounded-stateless Eventual Consistent prefix Strong https://jlik.me/c6b

  19. Turnkey Global Distribution Elastic scale out of storage and throughput Guaranteed 99th percentile low latency Five well-defined consistency models • Guaranteed latest version of reads • Highest consistency • Lowest performance • Lowest availability • 2x cost of Session -> Eventual Session Bounded-staleness Eventual Consistent prefix Strong

  20. Turnkey Global Distribution Elastic scale out of storage and throughput Guaranteed 99th percentile low latency Five well-defined consistency models • Consistent within a time frame (i.e. 5 minutes old) • Better performance • Low availability • 2x cost of Session -> Eventual Session Bounded-staleness Eventual Consistent prefix Strong

  21. Turnkey Global Distribution Elastic scale out of storage and throughput Guaranteed 99th percentile low latency Five well-defined consistency models • Consistent for the session • Always read own writes • Other data ordered but not guaranteed current • Good performance • Good availability Session Bounded-staleness Eventual Consistent prefix Strong

  22. Turnkey Global Distribution Elastic scale out of storage and throughput Guaranteed 99th percentile low latency Five well-defined consistency models • Read is consistent to a point in time • No guarantee how current • Good performance • Excellent availability Session Bounded-staleness Eventual Consistent prefix Strong

  23. Turnkey Global Distribution Elastic scale out of storage and throughput Guaranteed 99th percentile low latency Five well-defined consistency models • No guaranteed ordering/freshness of data • Eventually “catches up” • Highest performance • Highest availability Session Bounded-staleness Eventual Consistent prefix Strong

  24. Demo: Consistency Levels

  25. Turnkey Global Distribution Elastic scale out of storage and throughput Guaranteed 99th percentile low latency Five well-defined consistency models Throughput Consistency Latency HA Comprehensive SLAs <10ms Guaranteed Guaranteed 99thpercentile 99.99%

  26. 1 RU = Read 1 KB Item with 10 Unique Properties https://jlik.me/ckv

  27. Table API Got Interfaces? SQL API

  28. USDADatabase

  29. Source: https://www.ars.usda.gov/ARSUserFiles/80400525/Data/SR/SR28/sr28_doc.pdf

  30. Nutrient Definitions Food Groups Food Items Nutrient Data Weights

  31. DEMO

  32. USDA https://github.com/JeremyLikness/explore-cosmos-db • Flightshttps://github.com/anthonychu/cosmosdb-gremlin-flights • Link Shortener • https://github.com/JeremyLikness/jlik.me Try Cosmos DB Free: https://aka.ms/get-cosmos https://aka.ms/cosmos-docs Global distribution: https://jlik.me/ckw Consistency levels: https://jlik.me/c6b Request Units calculator: https://jlik.me/ckv Performance tips: https://aka.ms/cosmos-perf https://blog.jeremylikness.com/ @JeremyLikness Jeremy.Likness@microsoft.com

More Related