Use Cases Cheat Sheet Azure Cosmos DB FY
Use Cases Cheat Sheet Azure Cosmos DB – FY 20 Top Use Cases Use Case Details Why Azure Cosmos DB? Alternatives Real-time telemetry 1. Io. T • Logistics (track assets/inventory) • Smart cars (telematics) • Smart Cities • Smart Buildings 2. User/Customer • Track digital actions (clicks; app events) ü Elastic, unlimited throughput (scale) ü Can easily ingest large volumes of data from write-heavy scenarios ü Real-time queries backed by <10 ms low-latency SLA ü Auto-indexing of semistructured data • Rapid response recommendations to enhance user experience (e. g. , Netflix recommendations; ecommerce product suggestions) ü Spark integration offers ML and big data processing ü <10 ms low-latency SLA • Real-time recommendation s and 360 -degree customer view • • • Optimization Tips Customer Examples Time-consuming and complex connection, integration, and management bundle of OSS tech (e. g. , Redis, Cassandra, etc) Maintain performance by actively managing, overallocating, and over-paying for cluster 1. Use Device ID or User ID as partition key 2. Customize index policy (vs autoindex all data) 3. Materialize View design pattern to optimize aggregates 4. Use local region for read/write data in SDK connection policy Johnson Controls Exxon Mobil Site. Pro Build and maintain custom solutions; manage data integration (POS, CRM, etc. ) Static, non-responsive, or delayed recommendations based on stale data Limited personalization (e. g. , missing location, daypart, etc. ) 1. Custom configuration for Spark connector (e. g. , batch size) 2. Scale up RU/s for batch processing then immediately scale down for steady-state 3. Use Product ID or User ID as partition key ASOS Fidelity National Financial Mission-Critical or Geodistributed applications Deliver consistent real-time, always-on user experience anywhere in the world • Shopping cart/checkout • Io. T device registry ü One-click, fully-managed data replication/distribution around the word ü <10 ms low-latency SLA ü 99. 999% high-availability SLA ü Available in all Azure regions • Set up and maintain infrastructure, networks, and databases globally • Manage data replication manually • Time, complexity, and cost to scale capacity and reach 1. Use Session or Bounded Staleness pre-configured data consistency 2. Use local region for read/write data in SDK connection policy 3. Use multi-master writes/replication in production (not dev/test) Walmart/Jet. com Citrix No. SQL migration Move from self-managed No. SQL (e. g. , Mongo. DB, Cassandra) to Paa. S solution and stop managing clusters. ü Full Paa. S offering that handles all database/cluster management ü APIs for Mongo. DB, Cassandra, and other No. SQL • Create, manage, and tune clusters • Manage upgrades, patching, etc • 24 -7 internal team for monitoring, site reliability, and performance optimization 1. Use Azure Data Migration Service to migrate to API for Mongo. DB 2. Use Azure Data Factory to migrate to SQL (core) API Bentley Systems Symantec (Norton)
- Slides: 1