SQL Server Data Services - Presentation Transcript
Building Applications with SQL Data Services and Windows Azure Ing. Eduardo Castro, PhD Grupo Asesor en Informática ecastro@grupoasesor.net
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
Data Platform: Device to Cloud RDBMS Service Mining Protection Sync Load Reporting Caching Query Analysis Integration Search Backup Model & policy based development and management In Memory RelationalBLOB MultiDim XML File Type Place Mega-server Desktop Data Services Server Mobile/Desktop
Azure™ Services Platform Azure Services Platform
The Microsoft Platform Stack Mobile Desktop Server Cloud Application Data OS
Extending SQL Data Platform to Cloud Reference Data Business Intelligence Data Sync Reporting 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
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 Tables, indexes and views Stored Procedures Triggers Constraints Table variables, session temp tables (#t) … Out of Scope for v1 Distributed Transactions Distributed Query CLR Service Broker Spatial Physical server or catalog DDL and views
Service Provisioning Model 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… Account Server Database
Azure Ing. Eduardo Castro, PhD Architect http://ecastrom.blogspot.com demo
Data Hub “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 Device Management Desktop 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 Sync Framework TDS Reporting SDS Provider SQL Data Services Data Sync 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
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 Gateway Gateway Gateway Gateway Gateway Data Node Data Node Data Node Data Node Data Node Data Node TDS (tcp: 1433) 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 Astoria/REST - EF HTTP/S SOAP/REST 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 demo Sync Service Ing. Eduardo Castro, PhD Architect http://ecastrom.blogspot.com
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
Accessing SDS from ADO.Net Data Services demo Sync Service Ing. Eduardo Castro, PhD Architect http://ecastrom.blogspot.com
High Level Architecture SQL Data Services Gateway Tier Protocol Parser Protocol Parser Protocol Parser Protocol Parser Protocol Parser Protocol Parser Protocol Parser Management Services Management Services Management Services Management Services Management Services Management Services Management Services Partition Services Partition Services Partition Services Partition Services Partition Services Partition Services Partition Services SQL Data Services Back End SQL Server SQL Server SQL Server SQL Server SQL Server SQL Server SQL Server Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Distributed Data Fabric Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services Mgmt. Services
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
Building Applications with SQL Data Services and Windows Azure Ing. Eduardo Castro, PhD GrupoAsesor en Informática ecastro@grupoasesor.net http://comunidadwindows.net http://ecastrom.blogspot.com
0 comments
Post a comment