Upload
datacenters
View
387
Download
2
Embed Size (px)
Citation preview
Introduction to New SQL Server Introduction to New SQL Server Data Services:Data Services:Web-based Data Storage in a CloudWeb-based Data Storage in a Cloud
James Hippolite James Hippolite Senior .NET DeveloperSenior .NET DeveloperTelecom New Zealand LimitedTelecom New Zealand Limited
AgendaAgenda
Overview of Windows Azure Services PlatformOverview of Windows Azure Services Platform– Where does SSDS fit inWhere does SSDS fit in
Overview of Microsoft® SQL Server® Data Services Overview of Microsoft® SQL Server® Data Services (SSDS)(SSDS)– ArchitectureArchitecture
Shape of the ServiceShape of the Service– Provisioning modelProvisioning model– Data and Storage modelsData and Storage models– QueryQuery
About the betaAbout the beta
SessionSession PrerequisitesPrerequisites
““Basic” idea of what “Cloud Computing” isBasic” idea of what “Cloud Computing” is Familiar with Microsoft developer tools (e.g. Familiar with Microsoft developer tools (e.g.
Microsoft® Visual Studio®)Microsoft® Visual Studio®) Have experience designing and/or Have experience designing and/or
implementing systems deployed in implementing systems deployed in “traditional” hosted environments“traditional” hosted environments
Level 200
Windows Azure Platform at a Windows Azure Platform at a GlanceGlance
What Do I Get “in the Box”?What Do I Get “in the Box”?
SQL ServicesSQL ServicesExtending the SQL Data Platform to the CloudExtending the SQL Data Platform to the Cloud
Data services tier of the Azure Services PlatformData services tier of the Azure Services Platform Built on Microsoft® SQL Server® foundationBuilt on Microsoft® SQL Server® foundation Broad data platform capabilities as a serviceBroad data platform capabilities as a service
– Friction-free provisioning, scalingFriction-free provisioning, scaling– Significant investments in scale, high availability (HA), Significant investments in scale, high availability (HA),
lights-out operation, and total cost of ownership (TCO)lights-out operation, and total cost of ownership (TCO)
SQL Server Data ServicesSQL Server Data ServicesYour Data Any Place, Any TimeYour Data Any Place, Any Time
Microsoft SQL Server Data Services (SSDS) is a Web facing data storage and processing utility
Application Agility
•Simple, flexible data model
•Representational State Transfer (REST) and SOAP protocols support
Scales Without Limits
•Storage and processing scales without restrictions
•Businesses pay only for the resources consumed
Business-Ready SLA
•Built using robust Microsoft SQL Server technology
•Service level agreement (SLA) for business continuity
•Highly available, reliable, and secure
SSDS Service ArchitectureSSDS Service Architecture
TECHNOLOGY STACK DATA MODEL
SOAP and REST
Storage Tier
REST SOAPSSDS Runtime
[ADO.Net client]
Client Application
SQL Server Data Services Platform
Microsoft Global Foundation Services
Data Node Data Node Data Node Data NodeData NodeSQL
ServerSQL
ServerSQL
ServerSQL
ServerSQL
ServerMgmt.Server
Mgmt.Server
Mgmt.Server
Mgmt.Server
Mgmt.Server
Fabric Fabric Fabric Fabric Fabric
SSDS Feature AreasSSDS Feature Areas
Data and Storage ModelsData and Storage Models Web service API (REST, SOAP, Web service API (REST, SOAP,
resource, and formats)resource, and formats) ProvisioningProvisioning Query ModelQuery Model SecuritySecurity
The ACE ConceptsThe ACE Concepts
AuthorityAuthority– Unit of geo-location and billingUnit of geo-location and billing– Collection of containersCollection of containers
ContainerContainer– Unit of consistency/searchUnit of consistency/search– Collection of entitiesCollection of entities– No schema requiredNo schema required
EntityEntity– Property bag of name/value pairsProperty bag of name/value pairs– Unit of update/changeUnit of update/change– No SchemaNo Schema
Hello World on SSDSHello World on SSDS
SSDS ExplorerDemo of provisioning and access
Concepts: EntityConcepts: Entity
Flexible Entity ModelFlexible Entity Model– No schema requiredNo schema required
Property bag of name/value pairsProperty bag of name/value pairs– Smallest Unit of Storage (unit of update)Smallest Unit of Storage (unit of update)
Metadata propertiesMetadata properties– ID – unique name within parent containerID – unique name within parent container– Kind – track user type ex: JobListing, Resume, Car, Circle, Kind – track user type ex: JobListing, Resume, Car, Circle,
etc.etc.– Version – update timestamp on each operationVersion – update timestamp on each operation
Flex propertiesFlex properties– Can change instance type or add additional propertiesCan change instance type or add additional properties– Support for simple types: decimal, string, blob, etc.Support for simple types: decimal, string, blob, etc.– All properties are indexedAll properties are indexed
Concepts: Entity (Example)Concepts: Entity (Example)
Entity properties may differ in type and instance
Property Type Value
Property Type Value
Metadata IDKindDescriptionPriceListing Date
PostCode
FlexProps
EntityIdEntityKindStringNumericDatetime
String
VWGOLF-01CarReliable, one owner, …12000.0001-01-2009
6037
Metadata IDKindDescriptionPriceListing Date
FlexProps
EntityIdEntityKindStringNumericString
MINICOOPER-264FunCarReliable, one owner, …12000.001st January, 2009
EngineSize Numeric 1600
Different kinds
Different instance types
Additional property
Concepts: ContainerConcepts: Container
Stores Flexible EntitiesStores Flexible Entities Unit of consistencyUnit of consistency Widest domain of a single search and operationWidest domain of a single search and operation Unique name within parent containerUnique name within parent container
Concepts: AuthorityConcepts: Authority
A collection of ContainersA collection of Containers Analogous to namespaceAnalogous to namespace Unit of billing and geo-locationUnit of billing and geo-location Has DNS name (for REST access)Has DNS name (for REST access)
REST SupportREST Support
ReRepresentational presentational SState tate TTransferransfer– Pure HTTP-based solutionPure HTTP-based solution– All resources are directly accessible from All resources are directly accessible from
Internet URLsInternet URLs– HTTP Verbs mapped directly to SSDS operationsHTTP Verbs mapped directly to SSDS operations
Very broad accessibility from almost any Very broad accessibility from almost any environmentenvironment
Simple XML-based payloads or plain old XML Simple XML-based payloads or plain old XML (POX)(POX)
Query LanguageQuery Language
Textual query language through Web-Textual query language through Web-service head, passed in as literal text stringservice head, passed in as literal text string
Language patterned after C# LINQ syntaxLanguage patterned after C# LINQ syntax Operator semantics handles variant valuesOperator semantics handles variant values Query supported over metadata and data Query supported over metadata and data
propertiesproperties
Technical Preview AvailableTechnical Preview Available
Open release of the desktop software development Open release of the desktop software development kit (SDK)kit (SDK)
Limited preview of the cloud infrastructureLimited preview of the cloud infrastructure– Free usage, with quotasFree usage, with quotas
Key FeaturesKey Features– Virtual machines with dedicated resourcesVirtual machines with dedicated resources– Automated service managementAutomated service management– Simple service architecturesSimple service architectures– Microsoft® ASP.NET Web sites, managed code “workers”Microsoft® ASP.NET Web sites, managed code “workers”– StorageStorage– Single, large data centre on the U.S. West CoastSingle, large data centre on the U.S. West Coast
SSDS TakeawaysSSDS Takeaways
This is the starting pointThis is the starting point– Scale, cost, and operations excellenceScale, cost, and operations excellence– Learn about customer and partner usage patternsLearn about customer and partner usage patterns
Built on proven Windows Server® and SQL Server technologyBuilt on proven Windows Server® and SQL Server technology– Industrial strength servers; years of experience running large-Industrial strength servers; years of experience running large-
scale MSN® and Windows Live™ servicesscale MSN® and Windows Live™ services– Novel distributed data fabric for massive scale out and lights-out Novel distributed data fabric for massive scale out and lights-out
operationoperation Service will evolve based on feedback and partnershipsService will evolve based on feedback and partnerships
– Rich data types and queryRich data types and query– Blobs and full-text searchBlobs and full-text search– Rich services: reporting, analytics, caching, sync, and data Rich services: reporting, analytics, caching, sync, and data
qualityquality– ““We are extending our SQL data platform to the Cloud”We are extending our SQL data platform to the Cloud”
For More InformationFor More Information
BlogsBlogs– http://http://blogs.msdn.com/ssdsblogs.msdn.com/ssds– http://www.geekzone.co.nz/JamesHip/http://www.geekzone.co.nz/JamesHip/– http://twitter.com/JamesHip/http://twitter.com/JamesHip/
Landing pagesLanding pages– http://microsoft.com/sql/dataserviceshttp://microsoft.com/sql/dataservices– Http://Http://www.azure.comwww.azure.com//– http://msdn.microsoft.com/en-us/sqlserverhttp://msdn.microsoft.com/en-us/sqlserver