Download presentation
Presentation is loading. Please wait.
Published byHildegard Meissner Modified over 6 years ago
1
Microsoft Build 2016 11/9/2018 5:08 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
Introduction to Azure Table Storage
Microsoft Build 2016 11/9/2018 5:08 AM Session code Introduction to Azure Table Storage Gus Apostol Principal Program Manager Windows Azure Storage © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
Azure Storage Foundational building block of the Azure Cloud
Microsoft Build 2016 11/9/2018 5:08 AM Azure Storage Foundational building block of the Azure Cloud Microsoft & Azure Services - XBOX, Skype, Office 365, Azure SQL DW, Event Hubs Hyper Scale >100 Trillion objects stored and >12 Million transactions per second Durability Options Locally Redundant (LRS), Zone Redundant (ZRS), Geo-Redundant (GRS) Availability 99.9% for reads/writes, 99.99% for reads with RA-GRS, backed by SLA Open, multi-platform, multi-language support Open Source Client libraries - .NET, Java, C++, Node.js, Android, Xamarin, Python, Ruby, PHP, iOS Hybrid Azure Stack in Windows Server 2016 includes Azure Table Storage © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
4
Azure Storage Offerings
Microsoft Build 2016 11/9/2018 5:08 AM Azure Storage Offerings Blobs Highly scalable, REST based cloud object store Block Blobs: Sequential file I/O Page Blobs: Random-write pattern data Tables Massive auto-scaling NoSQL store Dynamic scaling based on load Scale to PBs of table data Fast key/value lookups Queues Reliable queues at scale for cloud services Decouple and scale components Message visibility timeout and update message to protect against unreliable dequeuers Disks Persistent disks for Azure IaaS VMs Built on page blobs Premium Storage Disks: SSD based, high IOPS, low latency Files Fully Managed File Shares in the Cloud Map to file share, standard file system semantics “Lift and shift” legacy apps Code against (REST API) Use on Windows & Linux VMs Azure Storage Documentation © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
5
What is the Azure Table Storage service?
Microsoft Build 2016 11/9/2018 5:08 AM What is the Azure Table Storage service? Scenarios Online shopping cart, user profile data, device and service metadata Key-Value NoSQL Store Optimized for key based lookups Store 100s of TBs in a single table (shard for PBs) Strongly consistent Dynamic resource allocation Very high transaction volumes Cost efficient © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6
Azure Table Storage Concepts
Microsoft Build 2016 11/9/2018 5:08 AM Azure Table Storage Concepts Microsoft Azure Subscription 1 Storage Account 1 PK, RK Tables 1 .. n Subscription 2 Storage Account 2 Subscription...n Storage Account...n Contoso Azure Storage Table Design Guide © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
7
Azure Table example Gaming Partition Key Row Key Properties
Microsoft Build 2016 11/9/2018 5:08 AM Azure Table example Gaming Row Keys uniquely identifies entity within partition Each entity contains a set of properties Partition Key Row Key Properties SpeedM5 GameProfile DateCreated=08/05/2004 Location=Germany Subscription=Gold TitleHistory Game=RaceTime Achievements Level=Champion RacerX25 DateCreated=01/29/2001 Location=US Subscription=Silver Entities with same Partition Keys are always served by a single Table Server Properties don’t need to be the same for each entity Azure Storage Performance, Scale and Security © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
8
Transactions & Concurrency
Microsoft Build 2016 11/9/2018 5:08 AM Transactions & Concurrency Entity Group Transactions Perform atomic updates across multiple entities or “batch operations” Atomic transactions requires entities be in the same partition A single Entity Group Transaction can operate on at most 100 entities Multiple concurrent EGTs will cause delays or the entire batch to fail Table Concurrency Most applications support multiple users reading & writing data concurrently Storage supports Pessimistic, Optimistic and Last Writer concurrency models Azure Table Storage defaults to optimistic concurrency © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
9
Demo Getting started with Azure Tables in 5 minutes!
Microsoft Build 2016 11/9/2018 5:08 AM Demo Getting started with Azure Tables in 5 minutes! © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
10
Storage Access Control Strategies
Microsoft Build 2016 11/9/2018 5:08 AM Storage Access Control Strategies Multiple Access Control strategies Storage account key – full access Shared access signature (SAS) – token with configurable rights and time Public – Blob storage only Shared Access Signature Resources – containers, blobs, queues, tables, table ranges, account (coming soon!) Permissions – read, write, delete Time – start time, end time IP address or range Protocol HTTP or HTTPS protocol lock down T00%3A12%3A08Z& sr=c&sp=wl& sig=t%2BbzU9%2B7ry4okULN9S0wst%2F8MCUhTjrHyV9rDNLSe8g%3Dsss © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11
Storage Monitoring and Diagnostics
Microsoft Build 2016 11/9/2018 5:08 AM Storage Monitoring and Diagnostics Metrics “Service health statistics” Perfmon for Storage with >40 metric types for Blobs, Tables and Queues Summarized by hour and minute (w/ < 5 min delay) Granularity and retention policies Stored in tables – $MetricsMinuteTransactionsBlob Analytics Logs “Service trace logs” Storage equivalent of IIS logs All REST operations are logged Includes most request characteristics such as Timestamp, Status Code, Operation, E2ELatency Use this for diagnosis and troubleshooting Stored in blobs in a container called $logs © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
12
Other Azure Data Services
11/9/2018 5:08 AM Other Azure Data Services Tables “Key Value, high scale, auto-scaling NoSQL store” Scenarios: User, device and service metadata, structured data No limits on number of table rows or table size Dynamic load balancing of hot tables and table regions NoSQL - Schema-less entities with strong consistency Best for Key/value lookups on partition key and row key Entity group transactions for atomic batching DocumentDB “NoSQL document database service” Scenarios: Modern applications that use JSON data stores (like MongoDB) Flexible schema for iterative application development Automatic indexing with SQL query interface Transactional support for multi-document operations Scalable database storage with predictable low latency performance Azure SQL DB “Fully managed database-as-a-service built on SQL” Scenarios: Relational DBs without infrastructure/management hassle Fully compatible with SQL Server 2014 databases Built for both SaaS and Enterprise applications Elastic database pool for unpredictable SaaS workloads 99.99% availability built-in Geo-replication and restore services for data protection Secure and compliant for your sensitive data © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
13
Key Takeaways Azure Table Storage Call to Action!
Microsoft Build 2016 11/9/2018 5:08 AM Key Takeaways Azure Table Storage Key-value NoSQL Store Optimized for key based lookups Store 100s of TBs in a single table (shard for PBs) Strongly consistent Dynamic resource allocation Very high transaction volumes Cost efficient Call to Action! Get started in 5 minutes! © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
14
Microsoft Build 2016 11/9/2018 5:08 AM Additional Resources Azure Storage Documentation Azure Storage Table Design Guide Azure Storage Perf & Scale Checklist Managing Concurrency Monitor Azure Storage Re-visit Build on Channel 9 Continue your education at Microsoft Virtual Academy online © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
15
Microsoft Build 2016 11/9/2018 5:08 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.