Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Windows Azure Service Bus Application Patterns

Download

Right click “Save as…”

Service bus is a very capable service provided by Windows Azure. In this episode we'll explore some of the application scenarios of two major service bus offerings – relay and messaging. We'll examine different characteristics of the two services in terms of differences in payloads, topologies, scaling patterns, and many other aspects. The following table is taken from the table we built during the session. We hope this episode can provide you some guidance and ideas when designing your own applications.

 

Relay

Queues/Topics

Architecture   

Coupled

Decoupled

Main value   

Connectivity/location   separation

loosely-coupled   integration

Communication     pattern   

request-response, pub/sub

asynchronous, batch, offline, pub/sub, request-response possible

Payload   

Ephemeral   entities

Durable   messages

Latency   

Latency <10ms

Latency ~200ms

TTL   

TTL   < 1min

TTL may   be in years

Connection   

Concurrent listeners with high rates of connect/disconnect

Listener with long-lived durable connections

Scaling   

Scale   out to multiple listeners and then multiple relay endpoints

Scale   out with more entities and data sharding

Topology   

Fixed topology

Variable topology

Applications   

Real-time   data (telemetry)
Distributed   systems
Event   feed
Connectivity   to legacy systems/databases
Live-status   monitoring
Multi-player   games (interactive – Pong)
Durable   data (orders)
SOA/Service   integrations
Chat
Load-leveling
State synchronization
(distributed)   workflows
Multi-player   games (turn-based – Poker)

Development   

WCF/HTTP

.Net client/REST API

Follow the Discussion

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.