2009
Beat Schwegler
beatsch@microsoft.com
Enterprise & Technical Evangelism Lead
Microsoft Western Europe
13.03.2009
13.03.2009
Socialization of IT
Datacenters and Green IT
13.03.2009
Unused
capacity
Buy more of
everything
Rearchitect
Database to
scale out
Users
Buy bigger
SQL Box
Servers
Add some
Web Servers
13.03.2009
100%
Watts (% of maximum)
90%
80%
70%
60%
50%
40%
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
13.03.2009
13.03.2009
13.03.2009
Volume
Volume
13.03.2009
$10,000
machine
$500
machine
$500
machine
$1000
machine
$500
machine
Scale Up
$500
machine
$500
machine
Scale Out
# Machines
13.03.2009
Business logic
Service glue
and operations
Datacenter
10
13.03.2009
24/7 operation
Pay for what you use
Simpler, transparent administration
Governance
Identity
Business Processes
11
13.03.2009
Software Vendor
Product
Assets
IT Assets
Assets
Product
Assets
Datacenter
Operations
IT Assets
IT Operations
Assets
Expenses
IT Operations
Expenses
Service Usage
Expenses
IT Assets
IT Operations
Assets
Expenses
Enterprise Customer
Solution
Assets
Amortizations
IT Assets
IT Operations
Assets
Service Usage
Solution
Assets
Amortizations
IT Assets
IT Operations
Assets
Expenses
Expenses
Service Usage
Expenses
IT Assets
IT Operations
Assets
Expenses
12
13.03.2009
Customer
Service
Provider
Customer 1
Models are based on the book Place to Space by Peter Weill & Michael R. Vitale
Service
Provider
Customer
P
P
P
Service
Extending
Partner
Customer
Custom
Developing
Partner
Models are based on the book Place to Space by Peter Weill & Michael R. Vitale
13
13.03.2009
Service
Provider
Customer
Customer
Service
Extending
Partner
Custom
Developing
Partner
Models are based on the book Place to Space by Peter Weill & Michael R. Vitale
14
13.03.2009
Consistency Levels
Consistency Level
Example
Strong
Now
Missile Launch
Eventual
In the Future
Address Change
Optimistic
Stock Ticker
Message Assurances
Assurance
Message Delivery
Example
Exactly Once
No loss, no duplicates
Bank Transfer
At Least Once
No loss, duplicates
At Most Once
Loss, no duplicates
Streaming Video
Best Effort
Loss, duplicates
Stock Ticker
15
13.03.2009
Shared State
ACID Transactions
Eventual Consistency
Recovery-Oriented Computing
16
13.03.2009
Virtualized Computation
Scalable Storage
Automatic Management
Developer SDK
17
13.03.2009
VM reimaged on failure
Server retired on failure
Quick deployment
18
13.03.2009
WebSite
Site
Web
(ASPX, ASMX,
Web
(ASPX,Role
ASMX,
WCF)
(ASPX,
WCF)
WCF)
L
B
Worker
Worker
Service
Role
Internet
Your Service
Queue
L
B
Blobs
Tables
Storage
19
13.03.2009
Hosts ASP.NET
Public Internet
Web Role
Load
Balancer
Storage Services
Storage Service
20
13.03.2009
Public Internet
Web Role
Load
Balancer
Worker
Role
Storage Service
21
13.03.2009
Public Internet
Web Role
Load
Balancer
Worker
Role
Storage Service
Public Internet
Web Role
Load
Balancer
Worker
Role
Storage Service
22
13.03.2009
Public Internet
Web Role
Load
Balancer
Worker
Role
Storage Service
3rd Party
Service
Public Internet
Load
Balancer
Web Role
3rd Party
Service
Worker
Role
3rd Party
Service
Storage Service
23
13.03.2009
Azure Queues
RemoveMessage
GetMessage
(Timeout)
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Content-Type: application/xml
POST
http://myaccount.queue.core.windows.net/myqueue/messages
PutMessage
Date:
Tue, 09 Dec 2008 21:04:30 GMT
Worker Role
Server: Nephos Queue Service Version 1.0 Microsoft-HTTPAPI/2.0
DELETE
Msg 1
http://myaccount.queue.core.windows.net/myqueue/messages/messageid
<?xml version="1.0" encoding="utf-8"?>
?popreceipt=YzQ4Yzg1MDIGM0MDFiZDAwYzEw
<QueueMessagesList>
Msg 2
Msg 2
1
Web Role
<QueueMessage>
<MessageId>5974b586-0df3-4e2d-ad0c-18e3892bfca2</MessageId>
Msg 3
<InsertionTime>Mon, 22 Sep 2008 23:29:20 GMT</InsertionTime>
<ExpirationTime>Mon, 29 Sep 2008 23:29:20 GMT</ExpirationTime>
Msg 4
<PopReceipt>YzQ4Yzg1MDIGM0MDFiZDAwYzEw
</PopReceipt>
Worker Role
<TimeNextVisible>Tue, 23 Sep 2008 05:29:20GMT</TimeNextVisible>
<MessageText>PHRlc3Q+dG...dGVzdD4=</MessageText>
</QueueMessage>
Msg 2
</QueueMessagesList>
Queue
24
13.03.2009
Not relational
No Referential Integrity
If theseNoareJoins
you,
Limited to
Queries
important
use:
No Group by
No Aggregations
No Transactions
No Transactions
Cheap
Very Scalable
Flexible
Durable
Entity has:
25
13.03.2009
Time
Latitude
Longitude
Speed
xxx-xx1
10:15 14 Nov
01.23
53.24
xxx-xx1
10:05 14 Nov
04.45
54.32
xxx-xx1
09:55 14 Nov
02.32
52.34
xxx-xx2
10:15 14 Nov
01.23
51.23
10
Time
Latitude
Longitude
Speed
xxx-xx1
10:15 14 Nov
01.23
53.24
xxx-xx1
10:05 14 Nov
04.45
54.32
xxx-xx1
09:55 14 Nov
02.32
52.34
xxx-xx2
10:15 14 Nov
01.23
51.23
10
PartitionKey
26
13.03.2009
Stored in-order:
RowKey needs to
Just need to do a
be a string
top on the
partition PartitionKey
xxx-xx1
RowKey
Latitude
Longitude
Speed
2521756430999999999
10:15
14 Nov
01.23
53.24
2521756436999999999
10:05
14 Nov
04.45
54.32
09:55 14 Nov
Makes it
descending
02.32
52.34
2521756442999999999
100 nanoseconds!
(DateTime.MaxValue
time).Ticks.ToString
()
time.Ticks.ToString
()
Account
Container
Blob
Block
IMG001.JPG
Pictures
IMG002.JPG
Account
Block AAAA
Movies
MOV1.AVI
Block AAAB
Block AAAC
27
13.03.2009
28
13.03.2009
29
13.03.2009
30
13.03.2009
31
13.03.2009
32
13.03.2009
33
13.03.2009
34
Buy
SAP
their instance
of SAP hosted
@ partner
Exchange
Exchange Online
Siebel
CRM Online
legacy HR system
Build
Control of Features
High
Low
Economy of Scale
Low
High
13.03.2009
to get access
to elastic
compute
and cheaper
storage
On Premise
High
Low
@Hoster
@Cloud
Control of SLA
Economy of Scale (EoS)
@Vendor
Low
High
35
Buy
SAP
Exchange
Exchange Online
Siebel
CRM Online
On Premise
Low
Big Challenge:
to
get access Corporate Boundaries
Crossing
to elastic
Business Processes
compute
Connectivity and Messaging
and cheaper
storageFederated Identity
High
their instance
of SAP hosted
@ partner
legacy HR system
Build
Control of Features
High
Low
Economy of Scale
Low
High
13.03.2009
@Hoster
Data Access
@Cloud
@Vendor
Control of SLA
Economy of Scale (EoS)
Low
High
36
13.03.2009
Service Registry
Relay and direct connect connectivity
Publish/Subscribe
Integrated with Access Control services
[http|sb]://servicebus.windows.net/services/account/svc/
Service Registry Root
Root
servicebus.
windows.
net
services
account
svc
contoso
Multi-Tenant
37
13.03.2009
sb://servicebus.windows.net/services/user/service/endpoint
Relay
Outbound SSL-Secured TCP 828
Connection to Relay Rendezvous
Endpoint
Sender
One-Way Messages
through TCP Tunnel
Receiver
sb://servicebus.windows.net/services/user/service/endpoint
Relay
- Outbound SSL-Secured TCP 828
Connection to Relay
- Out-of-Band Protocol to
negotiate Direct Connection
Sender
Receiver
Upgrade to Direct
when possible
38
13.03.2009
Tooling
VS Designer
VS Debugger
Rehosted
Designer
Workflow
Activity
Library
WF Runtime
Hosts
IIS/WAS+
Dublin
Workflow
Service
your.exe
Direct
A portal at workflow.ex.azure.microsoft.com
New activities for the Azure Services
Platform
APIs that allow you to deploy, manage, and
run your workflows on the cloud
Enables you to orchestrate services
39
13.03.2009
SQL Services
40
13.03.2009
Reporting
Data Mining
Reference Data
ETL
Unit of
geo-location
and billing
Tied to
DNS name
Collection
of Containers
41
13.03.2009
Tables
Stored Procedures
Triggers
Views
Indexes
Visual Studio Compatibility
ADO.Net Compatibility
ODBC Compatibility
Content
News
feeds
Upload
content
Data over
30 days
SQL
Services
Current
data
Large disk
arrays
42
13.03.2009
Current
solution
Download
data from
SQL
Services
Download
form app
Mobile
connection
to SQL
Services
Upload
e-form
SQL
Services
Publishing
application
Reports
Real-time data
Final results
Real-time data
Final results
Shared
Ownership
43
13.03.2009
creator
consumer
rich end-point
processor
creator
consumer
44
13.03.2009
45
13.03.2009
46
13.03.2009
47