msdn workflow services and windows server app fabric

Post on 10-May-2015

1.951 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Workflow Service Host

Persistence(Instances)Persistence(Instances)

MonitoringMonitoring

Activity LibraryActivity Library

Receive

Send

...

Management Endpoint

Persistence Behavior

Tracking Behavior

Windows ServerWindows Server

.NET Framework.NET Framework

Windows Server AppFabricWindows Server AppFabric

ServicesServices

Management ToolsManagement Tools

IIS/WASIIS/WAS

WorkflowsWorkflows

Runtime DatabasesRuntime DatabasesPersistence Monitoring

HostingPersistenc

eCachingMonitoring

IIS Manager Modules

PowerShell

Unified Cache ViewUnified Cache View

Caching clients Caching clients can be across can be across machines or machines or

processesprocesses

Caching clients Caching clients can be across can be across machines or machines or

processesprocesses

Clients Access Clients Access the Cache as if it the Cache as if it

was a large was a large single cachesingle cache

Clients Access Clients Access the Cache as if it the Cache as if it

was a large was a large single cachesingle cache

Cache Layer Cache Layer distributes data distributes data

across the across the various cache various cache

nodesnodes

Cache Layer Cache Layer distributes data distributes data

across the across the various cache various cache

nodesnodes

Oper

Throughput Latency

Bulk Fetch

Read

28, 000/ sec (2k)

1-2ms 200k/sec (512 bytes)

Write

20,000 / sec (2k)

3 ms -

Operation Servers Throughput

Read 2k 1 28,000 ops/ sec

Read 2k 2 52, 500 ops/ sec

Read 2k 3 78, 000 ops/ sec

CACHING

CTP1CTP1June June ‘08‘08

CTP2PDC ‘08

CTP2PDC ‘08

CTP3Mar

‘09

CTP3Mar

‘09

Beta• PDC• Nov ‘09

Beta• PDC• Nov ‘09

RTM2010 Wave 1

* CY10

RTM2010 Wave 1

* CY10

Azure CTPPost RTM

Azure CTPPost RTM

Cach

ing

Serv

ice

Cache Tier

Configuration Store (Can be database, File share, etc.)Stores Global Cache PoliciesStores Current Partitioning Information

Cach

ing

Serv

ice

Cach

ing

Serv

ice

Enable Application

Server Cache Role

Copy Client DLLs and add app.config

Users

Web TierWeb Tier

Application Application

Caching Access Layer

Caching Access Layer

Application Application Application Application

<hosts> <host name="BL1CDB8083714“ cachePort="22233" cacheHostName="DistributedCacheService"/> ….. </hosts> <localCache isEnabled=“true" ../><security … />

<hosts> <host name="BL1CDB8083714“ cachePort="22233" cacheHostName="DistributedCacheService"/> ….. </hosts> <localCache isEnabled=“true" ../><security … />

Caching Access Layer

Caching Access Layer

Caching Access Layer

Caching Access Layer

Supplier One

Service

Supplier Two

Service

Best PriceWorkflowService

Add/Remove Item

Calculate Best Price Get Price

Get Price

PurchaseService

WorkflowService

1. Start

3. Send (key 3)

4. Receive (key 3)

ReceiveReceive

SendSend

ReceiveReceive

Persistence DB(Instances)

Persistence DB(Instances)

2. Save (key 3)

5. Load (key 3)

6.Complete

Instance

123 | data

456 | data

789 | data789 | data

A11 | data

Key

123 | key 1

456 | key 2

789 | key 3 789 | key 3

A11 | key 4

create correlation key3

Persistence DB(Instances)

Persistence DB(Instances)

Instance

123 | data

456 | data

789 | data789 | data

A11 | data

Key 123 | userid 1

456 | userid 2

789 | userid 3 789 | userid 3

A11 | userid4

1. Add item (userId 3)

3. View items (userId 3)

5. Best Price (userId 3)

ReceiveReceive

ReceiveReceive

ReceiveReceive

2. Save (userId 3)

4. Load (userId 3)

6. Load (userId 3)

create correlation

Windows ServerWindows Server

.NET Framework.NET Framework

Windows Server AppFabricWindows Server AppFabric

ServicesServices

Management ToolsManagement Tools

IIS/WASIIS/WAS

WorkflowsWorkflows

Runtime DatabasesRuntime DatabasesPersistence Monitoring

HostingPersistenc

eCachingMonitoring

IIS Manager Modules

PowerShell

Windows Server AppFabricWindows Server AppFabric

Workflow Service

Monitoring

Database

Monitoring

Database

Monitoreo de Servicios

Event CollectorService

Monitoring Tools

Monitoring ToolsWCF

Trace

Tracking ParticipantTrackin

gProfile

Windows ServerWindows Server

.NET Framework.NET Framework

Windows Server AppFabricWindows Server AppFabric

ServicesServices

Management ToolsManagement Tools

IIS/WASIIS/WAS

WorkflowsWorkflows

Runtime DatabasesRuntime DatabasesPersistence Monitoring

HostingPersistenc

eCachingMonitoring

IIS Manager Modules

PowerShell

Windows Server AppFabric

Windows Server AppFabric

PersistenceDB

Workflow Service

WorkflowManagemen

tService

Instance

123 | data

456 | data

789 | data

011 | data

Manageme

ntEndpoint

Operator Commands:• Suspend, Resume, Terminate and Cancel

Running Active - In Memory

Idle – Persisted

SuspendedReason:• Exception code• Exception text

Completed

Suspend

Resume

• Successful Completion• Terminate• Cancel

•Terminate• Cancel

Windows Server

AppFabric

Windows Server

AppFabric

Windows Server

AppFabric

Windows Server

AppFabric

Load Balancer

Load Balancer

PersistenceDB

Workflow Service

Workflow Service

WorkflowManageme

ntService

WorkflowManageme

ntService

Windows Server

AppFabric

Windows Server

AppFabric

Workflow Service

WorkflowManageme

ntService

Instance

123 | data

456 | data

789 | data

011 | data

top related