Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
for
High-Throughput
Data-Driven Applications
David Robinson
Senior Program Manager
Microsoft Corporation
Our Mission
And yes, we need to accept it…
Comment
Posting
Rating
Tags
BONUS!!!
All fields are automatically indexed
Join in SQL
select p.*
from Posting p,
PostingTag t,
Tag m
from p in entities.OfKind(“Posting”)
from t in entities.OfKind(“Tag”)
from m in entities.OfKind(“PostingTag”)
where
m.Properties["Tag"] == “AZURE"
select p
Data Modeling and Partitioning
How does SQL Data Services store our data?
All queries
are processed
via the SDS
Front Ends
ViewCount++ ViewCount++
Posting 123
ViewCount = 134
SOAP
Scope myEntityScope = new Scope();
myEntityScope.EntityId = "AwesomePosting";
myEntityScope.VersionMatch.Version = 134;
myEntityScope.VersionMatch.MatchType =
VersionMatchType.Match;
REST
WebRequest request =
HttpWebRequest.Create(entityUri);
request.Method = "POST";
request.Headers
[HttpRequestHeader.IfMatch] = "134";
Concurrency
Key takeaways
SDS provides an immediate
consistency model
Use appropriate versioning semantics
to prevent unwanted data overwrites
MatchType property in SOAP
IfMatch header in REST
Agenda
How will we accomplish our mission?
Data modeling and partitioning ü
Parallel query processing ü
Concurrency ü
Caching in our middle tier
Utilizing a Middle Tier
BB03 SQL Data Services : Under the Hood 404A 10/30/2008 8:30AM-9:45AM
BB52 SQL Data Services: Tips and Tricks for High-Throughput Data-Driven Applications 411 10/28/2008 12:45PM-1:30PM
BB40 Sync Framework: Enterprise Data in the Cloud and on Devices 408A 10/28/2008 5:15PM-6:30PM
BB26 SQL Server 2008: Business Intelligence and Data Visualization 515A 10/28/2008 1:45PM-3:00PM
BB24 SQL Server 2008: Deep Dive into Spatial Data 404A 10/29/2008 3:00PM-4:15PM
BB07 SQL Server 2008: Developing Large Scale Web Applications and Services 411 10/28/2008 1:45PM-3:00PM
BB37 SQL Server 2008: Developing Secure Applications 515A 10/29/2008 12:00PM-12:45PM
BB25 SQL Server 2008: New and Future T-SQL Programmability 515A 10/29/2008 1:15PM-2:30PM
PC40 SQL Server Compact: Embedding in Desktop and Device Applications 402A 10/29/2008 3:00PM-4:15PM
TL42 Microsoft SQL Server 2008: Powering MSDN 411 10/29/2008 12:00PM-12:45PM
PC44 Windows 7: Programming Sync Providers That Work Great with Windows 408B 10/28/2008 12:45PM-1:30PM
© 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.