Msdn Workflow Services And Windows Server App Fabric

32

Transcript of Msdn Workflow Services And Windows Server App Fabric

Page 1: Msdn Workflow Services And Windows Server App Fabric
Page 2: Msdn Workflow Services And Windows Server App Fabric
Page 3: Msdn Workflow Services And Windows Server App Fabric

Workflow Service Host

Persistence(Instances)Persistence(Instances)

MonitoringMonitoring

Activity LibraryActivity Library

Receive

Send

...

Management Endpoint

Persistence Behavior

Tracking Behavior

Page 4: Msdn Workflow Services And Windows Server App Fabric

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

Page 5: Msdn Workflow Services And Windows Server App Fabric
Page 6: Msdn Workflow Services And Windows Server App Fabric

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

Page 8: Msdn Workflow Services And Windows Server App Fabric

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

Page 9: Msdn Workflow Services And Windows Server App Fabric
Page 10: Msdn Workflow Services And Windows Server App Fabric
Page 11: Msdn Workflow Services And Windows Server App Fabric

CACHING

Page 12: Msdn Workflow Services And Windows Server App Fabric

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

Page 13: Msdn Workflow Services And Windows Server App Fabric

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

Page 14: Msdn Workflow Services And Windows Server App Fabric

Supplier One

Service

Supplier Two

Service

Best PriceWorkflowService

Add/Remove Item

Calculate Best Price Get Price

Get Price

PurchaseService

Page 15: Msdn Workflow Services And Windows Server App Fabric
Page 16: Msdn Workflow Services And Windows Server App Fabric

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

Page 17: Msdn Workflow Services And Windows Server App Fabric

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

Page 18: Msdn Workflow Services And Windows Server App Fabric
Page 19: Msdn Workflow Services And Windows Server App Fabric

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

Page 20: Msdn Workflow Services And Windows Server App Fabric
Page 21: Msdn Workflow Services And Windows Server App Fabric

Windows Server AppFabricWindows Server AppFabric

Workflow Service

Monitoring

Database

Monitoring

Database

Monitoreo de Servicios

Event CollectorService

Monitoring Tools

Monitoring ToolsWCF

Trace

Tracking ParticipantTrackin

gProfile

Page 22: Msdn Workflow Services And Windows Server App Fabric
Page 23: Msdn Workflow Services And Windows Server App Fabric

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

Page 24: Msdn Workflow Services And Windows Server App Fabric
Page 25: Msdn Workflow Services And Windows Server App Fabric

Windows Server AppFabric

Windows Server AppFabric

PersistenceDB

Workflow Service

WorkflowManagemen

tService

Instance

123 | data

456 | data

789 | data

011 | data

Manageme

ntEndpoint

Page 26: Msdn Workflow Services And Windows Server App Fabric

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

Page 27: Msdn Workflow Services And Windows Server App Fabric
Page 28: Msdn Workflow Services And Windows Server App Fabric

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

Page 29: Msdn Workflow Services And Windows Server App Fabric
Page 30: Msdn Workflow Services And Windows Server App Fabric
Page 31: Msdn Workflow Services And Windows Server App Fabric
Page 32: Msdn Workflow Services And Windows Server App Fabric