22

2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

Embed Size (px)

Citation preview

Page 1: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft
Page 2: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

2

SQL Server Data ServicesWorking the Cloud

Mike FlaskoProgram Manager, Microsoft

Page 3: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

3

AgendaWhy "data services"?Your data service optionsSQL Server Data Services– Value proposition– Key Concepts– How to use the service

Release PlanSummary & Resources

Page 4: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

4

Why Data Services

HTML + Javascript

Data (XML, etc)

AJAX / RIAApplications

Mashup UI

Data Feeds

Mashups

Data (XML, etc)

Online Services

Data (XML, etc)

Data Driven Web

Applications

Page 5: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

5

Data Services Vision

SYNC

SYNC SYNC SYNC

ADO.NET Data Services

Framework

On Premises

Internet Standard Interfaces and Protocols (SOAP, REST)

Mobile andDesktop

Client Applications

Web Services / Mid Tiers

SQL Server Data Services (SSDS)

ADO.Net Data Services

Windows Live Services

(Photos, etc)

Page 6: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

6

What is SQL Server Data Services?

Application Agility

• Simple, flexible data model• REST and SOAP protocols support

Business Ready SLA

• Built using robust Microsoft SQL Server technology• SLA for business continuity• Highly available, reliable

and secure

Microsoft® SQL Server® Data Services (SSDS) is aWeb facing data storage and processing utility

Scales without Limits

• Storage and processing scales without restrictions• Businesses pay only for the resources consumed

Application Agility

• Simple, flexible data model• REST and SOAP protocols support

Business Ready SLA

• Built using robust Microsoft SQL Server technology• SLA for business continuity• Highly available, reliable

and secure

Page 7: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

7

SSDS Key Concepts ("ACE")Authority

– Unit of geo-location and billing– DNS sub domain per container– Collection of containers

Container– Unit of consistency/search– Collection of entities– No schema required

Entity– Property bag of name/value pairs– Unit of update/change

Authority

Container

Entity

Page 8: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

8

Entity ConceptsFlexible Entity Model

– No schema required– Smallest Unit of Storage (unit of update)

Metadata properties– ID – unique within parent container– Kind – track user type ex: JobListing, Resume, etc– Version – update timestamp on each operation

Flex properties– Can change instance type or add additional properties– Support for simple types: decimal, string, bool, etc– All properties are indexed

Page 9: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

9

Flexible Entity ExampleProperty Type ValueMetadata ID EntityId VWGOLF-01

Kind EntityKind Car

FlexProps Description String Reliable, one owner, …

Price Numeric 12000.00

ListingDate Datetime 01-01-2008

LocationZip String 98052

Property Type ValueMetadata ID EntityId MINICOOPER-264

Kind EntityKind FunCar

FlexProps Description String Reliable, one owner, …

Price Numeric 12000.00

ListingDate String 1st January, 2008

LocationZip String 98052

EngineSize Numeric 1600Additional property

Different instance types

Different Kinds

Page 10: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

10

Container ConceptsStores Flexible EntitiesUnit of consistencyWidest domain of a single search and operation

Page 11: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

11

Authority ConceptsA collection of ContainersAnalog to namespaceUnit of billing and geo-locationHas one DNS name

Authority

Page 12: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

12

Webservice API

Consumed using SOAP or REST– Endpoint secured by SSL– Each authority has single owner

– Secured using single owner credentials– Aligning REST interface with conventions used by ADO.NET

Data Services

Page 13: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

13

Web Service API (REST)Service: https://data.sitka.microsoft.com/v1

CreateAuthority (POST)Authority: https://auth.data.sitka.microsoft.com/v1

FetchAuthority (GET)QueryContainers (GET) with query “from e in … where …”CreateContainer (POST)

Container: https://auth.data.sitka.microsoft.com/v1/containerId FetchContainer (GET) QueryEntities (GET) with query “from e in … where …” UpdateContainer (PUT)DeleteContainer (DELETE)CreateEntity (POST)

Entity: https://auth.data.sitka.microsoft.com/v1/containerId/entityId FetchEntity (GET)UpdateEntity (PUT) DeleteEntity (DELETE)

Page 14: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

14

Refining Webservice APIs

Conditional requests & Entity VersioningOptimistic concurrency

Blob supportStore media, files, etc in SSDS

What else is needed?

Page 15: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

15

Building An Application

Concept Usage ExampleAuthority Single location for Litware applications LitwareHR

Container Container for app runtime, one container per tenant

LiwareHR_MetadataContosoHR, …

Entity Storage for each app type – jobs, resumes and various metadata items

JobListingApplication

Litware HR – a web-based recruiting serviceMulti-tenant application

– Contoso (Web Startup)– AdventureWorks (Bike Store)

Roles– HR Manager and Job Applicant

Page 16: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

16

When do I get to use it?Currently in invitation only beta

– No charge for use during beta period– Next step – open beta

Service refresh every 8 weeks or so– New functionality based on customer feedback

Go Live in H1’09– Published SLA– Pricing and licensing model is TBD

Page 17: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

17

Microsoft Data Platform Roadmap

Mobile andDesktop

OLAPFILE

XMLRDBMS

Query

Analysis

Reporting Integration

Synch

Search

Server

Data Services

Page 18: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

18

SummaryThis is the starting point

– Scale, cost and operations excellence– Learn about customer and partner usage patterns

Built on proven Windows Server and SQL Server technology– Industrial strength servers; used learning from our large scale MSN and

Live services– Distributed data fabric for scale out and lights out operation

Service will evolve based on feedback and partnerships– Rich data types and query– Blobs and full text search– Rich services: reporting, analytics, caching, sync and data quality– We are extending our data platform to the Cloud

Page 19: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

19

Resources

Register for SSDS beta access– http://www.microsoft.com/sql/dataservices – Documentation, samples and more

SSDS Team blog: – http://blogs.msdn.com/ssds

ADO.NET Data Services Team blog:– http://blogs.msdn.com/astoriateam

Email me: [email protected]

Page 20: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

20

Q&A

Page 21: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

21

© 2008 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.

Page 22: 2 SQL Server Data Services Working the Cloud Mike Flasko Program Manager, Microsoft

22

High Level Architecture

Global Foundation Services

Distributed

FabricMgmt.

Services

SQLServices

Distributed

FabricMgmt.

Services

SQLServices

Distributed

FabricMgmt.

Services

SQLServices

Distributed

FabricMgmt.

Services

SQLServices

Distributed

FabricMgmt.

Services

SQLServices

Distributed

FabricMgmt.

Services

SQLServices

Distributed

FabricMgmt.

Services

SQLServices

SQL Server Data Services Platform

ACE Logic

Client Library

REST / SOAP

ACE Logic

Client Library

REST / SOAP

ACE Logic

Client Library

REST / SOAP

ACE Logic

Client Library

REST / SOAP

ACE Logic

Client Library

REST / SOAP

ACE Logic

Client Library

REST / SOAP

ACE Logic

Client Library

REST / SOAP

SQL Server Data Services

Internet Standard Interfaces and Protocols (SOAP / REST)