ms techdays 2011 - how to run middleware in the cloud story of windows azure appfabric

Post on 19-May-2015

1.009 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

PLATFORM, ADVANCED

Hammad Rajjoub Architect Evangelist, Microsoft Singapore

SINGAPORE

Windows Azure

AppFabric – The

Middleware for the

Cloud

The Cloud.

All Apps Move To The Cloud.

I would also like ….

Cure for Cancer…

World Peace..

Get rid of Famine…

Finish the book I am writing “on time”…

All Apps Move To The Cloud.

No They Don’t.

Analogy: Rural vs. Urban living ..

• IMAGE COMES HERE..

We need to connect the dots…

Agenda

• Windows Azure AppFabric –The Middleware for the Cloud

• Building Blocks

• Service Bus

Speaker Intro

• Architect Evangelist at Microsoft • Published Author • Microsoft Business Platform Technology Advisor • Microsoft Cloud Advisory Council • IASA Speaker and Member • 7 times MVP • @hammadrajjoub • http://www.hammadrajjoub.net

Likewise for software, we need middleware…

… all sorts of middleware, in fact

Windows Azure AppFabric

Windows Azure AppFabric Cache

• A distributed, in-memory cache for apps running in Azure:

– In-memory cache located near your Azure applications

– Based on Windows Server AppFabric Caching

• Benefits:

– Highly scalable with low latency and high throughput

– Can dynamically increase and decrease as needed, without redeploying or modifying your application

– User doesn’t have to bother with configuration, deployment, or management of their cache infrastructure

Key Capabilities & Benefits

• Easily integrates into existing apps – Cache-Aside Model

– One API for Server and Cloud

– ASP.NET Session State Provider

– ASP.NET Page Output Caching Provider

• Very low latency with Local Cache

• Caches any serializable CLR object – No serialization costs for local caching

• Secured w/ Access Control Service

Web Role

DB

Sessions

Reference Data

Activity Data

Resource Data

Output

Local Cache

DEMO

A quick look at Cloud Cache...

Windows Azure AppFabric Access Control

• Federated Identity and AuthZ for any Application

– Web, Desktop, Mobile

– Identity Providers: • Facebook, Google, Yahoo, Live ID

• Active Directory Federation Services 2.0

• OAuth 2, OAuth WRAP

• WS-Trust 1.3

– Tokens Formats • OAuth WRAP SWT

• SAML 1.1, SAML 2.0

• Authorization Rules

Access Control

WS-*

Google, Yahoo

OAuth 2.0

Facebook

Websites and web services Live ID

OAuth WRAP

Access Control Service

Open ID Rules

Free till Jan 2012

Windows Azure AppFabric Application Manager

• Application Server Infrastructure – Deployment and Placement – Execution Lifecycle – Scale Out – High Availability – Isolation – Resource Management – Routing – Usage Monitoring

Workflow Web Services

Windows Azure AppFabric Service Bus

• Interconnect services across networks

– Naming and Discovery

– Connectivity w/ NAT and Firewall Traversal

– Access Control Integrated Authorization

• Cloud-Based Message-Oriented Middleware

– Next Generation Message Queue Technology

– Rich Publish/Subscribe with Filtering

– Transaction Integration

Service Bus

Integration Routing

Coordination Transformation

Content-based routing, document

transformation, and process coordination.

Service Management

Naming, Discovery Monitoring

?

Consistent management

surface and service observation capabilities

Messaging Queuing Pub/Sub

Reliable Transfer

Reliable, transaction-aware cloud messaging infrastructure for business apps.

Connectivity Service Relay

Protocol Tunnel Eventing, Push

Rich options for interconnecting

apps across network

boundaries

Windows Azure AppFabric Service Bus

Queue P C

Queues!

• Reliable, durable storage – up to 1GB per Queue*

• Queues stay in the system once created, no TTL limit

• Max message size 256KB, Sessions allow grouping

• Messaging API, WCF, and HTTP/REST Interfaces

DEMO

My Queue runs in the cloud. How about yours?

Topics!

Topic P S

S

S

C

C

C

• All the Features of Queues + Publish/Subscribe

• Up to 2000 Subscriptions on a Topic

• Each Subscription is a virtual queue getting message copies

• Subscriptions can have filters and actions

DEMO

We have “Topics” in the cloud. Do you?

Bridging on premise messaging with the Cloud

• Messages are pushed to MSMQ

• Broker reads off MSMQ and publishes to SB Queue

• Service Bus Queue Client can reads it off the queue

SB Queue C

P MSMQ Broker

Cloud

On Premise

DEMO

Look ma! I can bridge MSMQ with AppFabric Service Bus Queues

Runtime API Choices

WCF Bindings

Service Bus Relay Protocol

Implementation

(private)

Apps

Messaging API

WCF Service Model

.NET Framework 4.0

Service Bus

HTTP

REST

SOAP

WS-* (Relay Clients)

Any Platform

The Messaging API

WCF Bindings

Service Bus Relay Protocol

Implementation

(private) Messaging API

WCF Service Model

.NET Framework 4.0

HTTP

REST

SOAP

WS-* (Relay Clients)

Any Platform

Messaging-Specific API That Provides Access To All Features

Summary

- The Cloud Middleware - Service Bus enables connectivity between

On-Premise and Cloud Apps - AppFabric applications are inherently cloud

ready - Integration Services will bring BizTalk to the

Cloud

Thank You Thank You

Microsoft Virtual Academy Developer Downloads IT Pro Trials

hamadr@microsoft.com / @hammadrajjoub / http://wwww.hammadrajjoub.net

top related