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

Preview:

Citation preview

2

SQL Server Data ServicesWorking the Cloud

Mike FlaskoProgram 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

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

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)

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

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

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

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

10

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

11

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

Authority

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

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)

14

Refining Webservice APIs

Conditional requests & Entity VersioningOptimistic concurrency

Blob supportStore media, files, etc in SSDS

What else is needed?

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

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

17

Microsoft Data Platform Roadmap

Mobile andDesktop

OLAPFILE

XMLRDBMS

Query

Analysis

Reporting Integration

Synch

Search

Server

Data Services

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

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: mike.flasko@microsoft.com

20

Q&A

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.

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)

Recommended