App fabric hybrid computing

Post on 13-Jan-2015

2,732 views 1 download

Tags:

description

 

transcript

Building Enterprise Scale Services

Using Windows Server AppFabric

Profile

VP, GRCT @ BAMLMicrosoft MVP for Connected Systems (6+ yrs)Member of Business Technology Platform AdvisorsAuthorI do: Blog + Twitter + PodCastwww.hammadrajjoub.net Twitter @HammadRajjoubBing me http://www.bing.com/search?q=hammadrajjoub

Agenda

Introducing Windows Server AppFabric Architecture Features

Distributed Caching Hosting & Management Capabilities

Connecting with the Cloud Q n A

Introducing AppFabric

• Windows Azure AppFabric

• Windows Server AppFabric

What is Windows Server AppFabric?

Extensions to Application Server role on Windows Server Platform

Enhanced hosting, management and caching capabilities

Allows faster, more scalable and more manageable applications and services

In its first release, it comprises of AppFabric Caching Services (remember Velocity?) AppFabric Hosting Services (remember Dublin?)

What is Windows Server AppFabric?

IIS Worker Process

AppFabric Hosting Services

IIS Manager

AppFabric Caching ServicesCacheServer

CacheServer

ASP.NETWF & WCF

Apps

WindowsApps

Cache Client

Persistence Database

Monitoring Database

CacheConfig

Cache Client

CacheServer

What’s under the hood?

IIS 7/WAS

IIS Manager

.NET 4 WCF & WF FRAMEWORKS

Persistence

SQL Persistence

Provider

Management APIs (PowerShell 2.0 cmdlets)

WF & WCF Management Modules

Runtime DatabasesPersistence schema Monitoring schema

Monitoring

WF ETW Tracking

WCF ETW Tracking

Messaging

Router Service

Hosting

Web Deploy Tool

Visual Studio

WF & WCF Project Templates

Windows 7, Windows Server 2008 & 2008 R2

Discovery Service

ablility, Scalablity

Availability, Deployment, Control Application Monitoring Routing, Activation

Instance Restart

Behavior

AutoStart Service

Workflow Mgmt

Event Collector

Architecture

Architecture - contd Runtime Services and Components:-

Asp.Net Application Domains Lifecycle and health monitoring Message based activations

WCF and WF Building blocks for composite applications

Runtime Dbs & Persistence Instance Store, Query & Control Provider

Architecture - contd

Hosting Auto-Start Service Management (WMS) App Pool Recycling

Monitoring Health and Activity Tracking Event collection Monitoring Dbs Power Shell Cmdlets Dashboard

DISTRIBUTED CACHING

AppFabric Cache

Caches any serializable CLR object and provides access through simple cache APIs.

Supports enterprise scale: tens to hundreds of computers.

Configurable to run as a service accessed over the network

Supports dynamic scaling-out by adding new nodes Backup copy provides high availability Automatic load balancing

DEMOSimple Caching Client!

Asp.Net Caching Scenario

DEMOAsp.Net Caching Provider!

Setting up Asp.Net Caching Provider

<sessionState mode="Custom" customProvider="SessionStoreProvider"> <providers> <add name="SessionStoreProvider" type="Microsoft.ApplicationServer.Caching.DataCacheSessionStoreProvider, Microsoft.ApplicationServer.Caching.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" cacheName=“YourCacheName"/> </providers> </sessionState>

HOSTING CAPABILITIESWindows Server AppFabric

Hosting and Management Extension to IIS7 using WAS Hosting and Management of WCF and WF Load balancing 100s of nodes Increased availability Easy to setup base configuration (replicated via

msdeploy.exe/xcopy/powershell) Event Collection via ETW for Windows Lifecycle management of durable workflows

Benchmarks

WINDOWS AZURE APPFABRICConnecting with the Cloud

Windows Azure AppFabric Comprehensive Cloud Middleware Developing, deploying and managing applications

on the Windows Azure Platform PaaS Enables birdging existing apps to the cloud via

secure connectivity Consistent development model on the premise

and on the cloud Middleware services + composite applications+

scale out infrastructure

Windows Azure AppFabric

AppFabric Services

AppFabric Container

SQL Azure SQL Server

Windows Azure Windows Server

AppFabric Management

.NET + AppFabric Composition Model &

Tools

Middleware Services

Comopsite Applications

What is AppFabric?

AppFabric Services

Caching Service Bus Access Control Integration

Composite App (WF, WCF)

Windows Azure Windows Server

SQL ServerSQL Azure

.NET

Com

positi

on

AppFabric Container

Multi-tenant, high-density, scaled-out host Composition runtime

Man

agem

ent

QnA

References

Windows Server AppFabric Training Kit Windows Azure AppFabric Training Kit TechEd video from Karandeep Anand