Tech·Ed North America 2009 6/9/2018 6:56 PM © 2009 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.
Building Applications with SQL Data Services and Windows Azure Tech·Ed North America 2009 6/9/2018 6:56 PM Building Applications with SQL Data Services and Windows Azure David Robinson Senior Program Manager Microsoft DAT316 Liam Cavanagh Senior Program Manager Microsoft © 2009 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.
6/9/2018 6:56 PM Building Applications with SQL Data Services and Windows Azure Session Agenda Introduction to SQL Data Services What is a Data Hub and What Problems Does it Solve SQL Data Services Architecture SDS Application Architectures Scaling out with SQL Data Services © 2007 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.
Data Platform: Device to Cloud RDBMS Service Protection Mining Sync Reporting Caching Query Backup Load Analysis Integration Search Model & policy based development and management Type In Memory Multi Dim Relational BLOB XML File Place Mobile/Desktop Data Services Server Desktop Mega-server
Azure Services Platform
The Microsoft Platform Stack Mobile Desktop Server Cloud OS Data Application
Extending SQL Data Platform to Cloud Reporting Business Intelligence Reference Data Data Sync SQL Data Services (SDS) Database-as-a-Service Symmetric Programming Model Data Hub Aggregation Initial services – core RDBMS capabilities as a service (SDS), Data Sync and Data Hub Future Offerings Additional data platform capabilities as a service: BI/DSS, DW New services: Reference Data, Secure Data Hub Enable new uses of data to deliver differentiated business value
V1: Address the needs of 95% or more web and departmental application Compatibility Goals Support common application patterns Logical based administration Patterns work for SDS and SQL Multi-tenancy considerations Throttling and load balancing Limits on DB size, duration of transaction, etc V1: Address the needs of 95% or more web and departmental application
Sample of SQL Compatibility In Scope for v1 Out of Scope for v1 Tables, indexes and views Stored Procedures Triggers Constraints Table variables, session temp tables (#t) … Distributed Transactions Distributed Query CLR Service Broker Spatial Physical server or catalog DDL and views
Service Provisioning Model Account Each account has zero or more servers Azure wide, provisioned in a common portal Billing instrument Each server has one or more databases Contains metadata about the databases Unit of authentication Unit of Geo-location Each database has standard SQL objects Unit of consistency Contains users, tables, views, indices, etc… Server Database
Hello SQL Data Services 6/9/2018 6:56 PM demo Hello SQL Data Services David Robinson Senior Program Manager Microsoft © 2007 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.
Data Hub ADO.NET, ODBC, PHP, ... Data Sync Service “An aggregation of Enterprise, Partner, Desktop, and Device data within SQL Data Services” Windows Azure Enterprise Azure App On-premises App ADO.NET, ODBC, PHP, ... SQL Data Services Data Sync Service Sync Enterprise Sync Sync User Management Device Management Desktop Device Client App Client App Sync Gateway Business Logic / Rules Sync Client Sync Client
Data Hub – Project “Huron” Customer Segment Small and medium sized businesses Enterprise – rapid prototype Both Microsoft (v1) and Non-Microsoft device (post v1) Common Patterns Mobile device access to corporate data Business to business sharing Secure digital data hub / partner extranets Governmental data (searchable encryption)
Data Hub – Project “Huron” Value Props Lower operational expense and capital expenditure Self-healing Highly available Out-of-the-box support for SQL Server and SQL Compact Extensible to non-MS devices and data sources (post v1)
Data Sync Service Analytical TDS Reporting SQL Data Services Data Sync Sync Framework TDS SDS Provider Reporting Online Publish API Subscribe API Sync API 3rd party platforms Client Library API Client Library API Windows Desktops & Devices Sync Framework Sync Framework Sync Service Proxy Sync Service Proxy 3rd party DB Client Data Provider Client Data Provider
Data Hub – Sync Services 6/9/2018 6:56 PM demo Sync Service Data Hub – Sync Services Liam Cavanagh Senior Program Manager Microsoft © 2007 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.
SQL Data Services Network Topology Applications use standard SQL client libraries: ODBC, OLEDB, ADO.Net, … Application TDS (tcp:1433) Load balancer forwards ‘sticky’ sessions to TDS protocol tier Load Balancer TDS (tcp: 1433) Gateway TDS (tcp: 1433) Data Node Data Node Data Node Data Node Data Node Data Node Scalability and Availability: Fabric, Failover, Replication and Load balancing
Performance Considerations The distance your application travels to perform data access will affect performance
SDS Application Architectures SDS access from within MS Datacenter (Azure compute – ADO.NET) SDS access from outside MS Datacenter (On-premises – ADO.NET) Browser App Code / Tools SOAP/REST HTTP/S Astoria/REST - EF HTTP/S App Code (ASP.NET) Windows Azure T-SQL (TDS) T-SQL (TDS) SQL Data Services SQL Data Services MS Datacenter MS Datacenter Topology supported for some apps
Code Far Applications Data is typically located outside the firewall from where your application runs Design your application to handle latency Pre-fetch as much data as possible to provide a rich experience to your users Cache data locally
Code Near Architecture Application Code runs within the same network that your data resides on Windows Azure provides a scalable hosting and compute platform for hosting your applications SQL Data Services and Windows Azure provide a “better together” experience
Scaling Out With SQL Data Services How can I gain maximum performance from my data tier? What if my application has large data storage requirements? Scaling out with SQL Data Services addresses these requirements
An Example Scale Out Architecture ASP.Net Application Customer 123 Partition Aware App Tier Data Partitions “Shards”
Scaling out with SQL Data Services 6/9/2018 6:56 PM demo Scaling out with SQL Data Services David Robinson Senior Program Manager Microsoft © 2007 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.
What Can I Do To Get Ready For SDS? Download SQL Server Express today Architect your applications for Scale Out Consider where your data access will live Watch for CTP Announcement Coming Soon!!!
What Did We Learn? SDS data platform is real and in production Built using SQL Server 2008 codebase Delivery of rich relational database service – PDC ’09 Relational database is key capability of the Azure platform SDS design and architecture supports a wide range of scenarios Cloud Data Hub’s are a convenient place to consolidate and share data
Commercial Availability Release Plan MIX ‘09 TechEd WWPC Migration PDC Mar 09 May 09 Jul 09 Nov 09 Sep 09 Apr 09 Jun 09 Aug 09 Oct 09 Internal Adoption SDS Invitation CTP Azure Invitation CTP Commercial Availability SDS Invitation CTP – On-board invitation-only customers + some current Azure Invitation CTP – On-board early adopters onto the Azure platform Commercial Availability with Windows Azure in 2009 Sign up for notification of our CTP
SQL Server Word of the Day Wednesday, May 13 DATA COMPRESSION *Game cards may be picked up at the SQL Server booths in the TLC
SQL Server Community Resources Connect: Local Chapters, Special Interest Groups, Online Community Share: PASSPort Social Networking, Community Connection Event Learn: PASS Summit Annual Conference, Technical Articles, Webcasts More about the PASS organization www.sqlpass.org/ The Professional Association for SQL Server (PASS) is an independent, not-for-profit association, dedicated to supporting, educating, and promoting the Microsoft SQL Server community. Become a FREE PASS Member: www.sqlpass.org/RegisterforSQLPASS.aspx Learn more about the PASS organization www.sqlpass.org/ Additional Community Resources SQL Server Community Center www.microsoft.com/sqlserver/2008/ en/us/community-center.aspx TechNet Community for IT Professionals http://technet.microsoft.com/en-us/sqlserver/bb671048.aspx Developer Center http://msdn.microsoft.com/en-us/sqlserver/bb671064.aspx SQL Server 2008 Learning Portal http://www.microsoft.com/learning/sql/2008/default.mspx
Additional Resources SDS Team Blog: http://blogs.msdn.com/ssds SDS Forum: http://social.msdn.microsoft.com/forums/en-US/ssdsgetstarted/threads/ External Resources MSDN Dev Center: http://msdn.microsoft.com/en-us/sqlserver/dataservices SQL Server 2008 Business Value Calculator: www.moresqlserver.com
Adventure Works Cycles Small bicycle manufacturer Experiencing a growth spurt SQL 2005 Database hosted on premises WPF on the desktop for employees ASP.Net website for customers hosted on premises
Adventure Works Cycles v2 Microsoft Sync Services made it easy for us to move the DB to the web We now have a working Data Hub Enforce data hub value prop 1 Enforce data hub value prop 2 Enforce data hub value prop 3
Adventure Works Cycles v3 Hosting our ASP.Net app in Windows Azure enable the code to run near the database Enforce SDS Azure value prop 1 Enforce SDS Azure value prop 2 Enforce SDS Azure value prop 3
Windows Azure and SDS Blah, blah, blah Value prop, value prop, value prop
Migrating Adventure Works ASP.Net to Windows Azure 6/9/2018 6:56 PM demo Migrating Adventure Works ASP.Net to Windows Azure David Robinson Senior Program Manager Microsoft © 2007 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.
Accessing SDS via HTTP/REST Where did REST access in SDS go Why ADO.Net Data Services ADO.Net DS Value Prop 1 ADO.Net DS Value Prop 2 ADO.Net DS Value Prop 3 ADO.Net DS Value Prop 4 ADO.Net DS Value Prop 5
Accessing SDS from ADO.Net Data Services 6/9/2018 6:56 PM demo Accessing SDS from ADO.Net Data Services Liam Cavanagh Senior Program Manager Microsoft David Robinson Senior Program Manager Microsoft © 2007 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.
High Level Architecture SQL Data Services Gateway Tier Partition Services Management Services Protocol Parser Partition Services Management Services Protocol Parser Partition Services Management Services Protocol Parser Partition Services Management Services Protocol Parser Partition Services Management Services Protocol Parser Partition Services Management Services Protocol Parser Partition Services Management Services Protocol Parser SQL Data Services Back End Mgmt. Services Distributed Data Fabric SQL Server Mgmt. Services Distributed Data Fabric SQL Server Mgmt. Services Distributed Data Fabric SQL Server Mgmt. Services Distributed Data Fabric SQL Server Mgmt. Services Distributed Data Fabric SQL Server Mgmt. Services Distributed Data Fabric SQL Server Mgmt. Services Distributed Data Fabric SQL Server
Addressing Latency With Windows Azure Windows Azure is co-located in the same datacenter as SQL Data Services Windows Azure provides Point 3
question & answer
Resources www.microsoft.com/teched www.microsoft.com/learning Sessions On-Demand & Community www.microsoft.com/learning Microsoft Certification & Training Resources http://microsoft.com/technet Resources for IT Professionals http://microsoft.com/msdn Resources for Developers www.microsoft.com/learning Microsoft Certification and Training Resources
Complete an evaluation on CommNet and enter to win!
6/9/2018 6:56 PM © 2009 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. © 2007 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.