Presentation is loading. Please wait.

Presentation is loading. Please wait.

Eric Nelson Application Architect, Microsoft |

Similar presentations


Presentation on theme: "Eric Nelson Application Architect, Microsoft |"— Presentation transcript:

1 Eric Nelson Application Architect, Microsoft |

2 Extending SQL Server to the Cloud

3

4

5 SQL Azure TDS SQL Azure TDS Your App Change Connection String

6 Application Internet LB TDS (tcp) Apps use standard SQL client libraries: ODBC, ADO.Net, PHP, … Load balancer forwards ‘sticky’ sessions to TDS protocol tier Gateway Scalability and Availability: Fabric, Failover, Replication, and Load balancing SQLSQLSQLSQL SQLSQL Gateway: TDS protocol gateway, enforces AUTHN/AUTHZ policy; proxy to backend SQL

7 From Windows Azure From Outside Microsoft Datacenter From Windows Azure & Outside Microsoft Datacenter Application / Browser Windows Azure SQL Azure Code Near App Code / Tools SQL Azure Microsoft Datacenter Code Far Hybrid Microsoft Datacente r SQL Azure SQL Server Microsoft Datacenter Windows Azure SQL Azure Data Sync App Code / Tools

8

9

10 Tables require clustered indexes

11

12

13

14

15 Sync SQL Azur e

16 On-Premises (Headquarters) Sync Remote Offices Data Sync Service For SQL Azure Retail Stores Sync SQL Azure Database Sync CTP1 CTP2

17

18

19

20

21

22 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23

24

25 Service Request App Data App Consistent and accepted latencies On premises application Files Service Request App Data Latency App Increases in quantity and variability of latencies Cloud based application Latency Blob TIP: Expect Web Role to SQL Azure to take about twice as long

26 Service Request App Data Timeouts? App Increased likelihood of timeouts Cloud based application Service Request App Data App Consistent, reliable connectivity and access On premises application Yes No Yes No Tried 5 times? Connection Successful? Try to connect Continue doing work Fail

27

28

29 TIP: There is a new code library for all this!

30

31 Purchasing Database Product catalogue Secure Transaction (Service Bus) Segmentation Online Shop Product catalogue

32 Contact ID Social Security # Customer Credit Card # Other Information Shipping Information Last Name First Name Contact ID On Premises Cloud Sharding Customer Credit Card # Shipping Information Last Name First Name Contact ID Social Security # Billing Data Other Information On Premises

33 Customer Credit Card # Shipping Information Last Name First Name Contact ID Social Security # Billing Data Other Information On Premises £!”$&$%!&£% £”$&!%*^(& !£$&!%£&%* ^$”$&%$”& Shipping Information Last Name First Name Contact ID On Premises Cloud Encryption

34

35

36 Single BlobDriveQueueTable Single SQL Azure Database Structured DataYY Relational DatabaseY Server Side ProcessingY Direct Access from outside AzureYYYY Messaging InfrastructureY Persistent StorageYY1 weekYY Size Limit200 GB/ 1 TB1 TB100 TB 50 GB (*)

37 FeatureAzure TableSQL Azure Table Partitioning & Scale Implicit based on Partition KeyExplicitly managed by the Application (Sharding – future feature) Index Capabilities Table indexed on Partition Key + Row Key 0 Secondary Indexes 1 Clustered Index on any column 999 Secondary Indexes Table Limits Row Size – 1 MB Column Limit – 255 Table Limit – 100TB Row Size – 8MB Column Limit – 1024 Table Limit - ~50GB Transactions Transactions on entities within partition No Transactions across tables or partitions Up to 100 operations in a Transaction Payload upto 4MB per Transaction Fully compatible transactional semantics with SQL Server. No cross Database transactions Consistency Model Transactionally Consistent ConcurrencySingle Optimistic Concurrency Strategy Full range of isolation and concurrency models as supported by RDBMS

38 FeatureAzure TableSQL Azure Data AccessREST API, ADO.NET, Client Library SDK Standard tools and APIs apply SSMS, Visual Studio, ADO.NET, ODBC Column TypesBasic TypesUsual SQL Server Data Types PortabilityData portability coming with Windows Azure Appliance Data in SQL Azure similar to SQL Server - Easy migration in and out of the cloud - Use multi stream transfer to mitigate network latency. Queries Upto 1000 entities [token pagination] Beyond 5 sec – return continuation token Queries by partition & row key are fast No Custom Indexes Today Non key queries are scans Query capabilities as per standard SQL Server database expectations Offer Server Side Processing through Stored Procedures and Complex Queries (Aggregation, Joins, Sorts, Filters, etc.)

39 A traditional set of data that is traditionally stored on the local environment is configuration and user settings. Commonly this is stored in the registry, xml or ini files. OptionsBest Case Usage Blob storageConfiguration file that is read only once during app load SQL databaseUsed in environments where a SQL database already exists Windows Azure tableUser settings that may be changed externally from the environment

40

41

42


Download ppt "Eric Nelson Application Architect, Microsoft |"

Similar presentations


Ads by Google