You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: transports/selecting.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Each of the following sections describes the advantages and disadvantages of eac
29
29
*[MSMQ](#msmq)
30
30
*[Learning Transport](#learning)
31
31
32
-
For transports that use a cloud-hosted queueing technology, the quality of the network connection between the applications and the cloud provider is important. If the connection is problematic, it may not be possible to send messages. For example, this may result in problems capturing data from a user interface. If applications are running in the same data centre as the queueing technology, this risk is mitigated.
32
+
For transports that use a cloud-hosted queueing technology, the quality of the network connection between the applications and the cloud provider is important. If the connection is problematic, it may not be possible to send messages. For example, this may result in problems capturing data from a user interface. If applications are running in the same data center as the queueing technology, this risk is mitigated.
33
33
34
34
This is a basic flowchart for selecting a supported transport. Where more than one transport is listed, refer to the sections below. They describe the advantages and disadvantages of each transport in more detail.
The learning transport should not be used in production.
57
57
58
-
This transport is intended to learn how to work with NServiceBus. It does not require installing queueing technology and works "out of the box". This is done by storing sent and received messages as files on disk.
58
+
This transport is intended for learning how to work with NServiceBus. It does not require installing queueing technology and works "out of the box". This is done by storing sent and received messages as files on disk.
59
59
60
60
## Azure Service Bus
61
61
@@ -66,15 +66,15 @@ Azure provides multiple messaging technologies. One of the most advanced and rel
66
66
- Fully managed, turn-key infrastructure
67
67
- Ease of scaling
68
68
- Ease of feature selection
69
-
- Supports message transactions. Other Azure queueing technologies do not
70
-
- Up to 100MB message size on the Premium tier. See[Large messages support](https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging#large-messages-support) for more information
71
-
- More native capabilities, such as delayed message delivery, which requires an [outbox](/nservicebus/outbox) when using some other transports
72
-
- Local development experience using the [Azure Service Bus Emulator](https://learn.microsoft.com/en-us/azure/service-bus-messaging/overview-emulator)
69
+
- Supports message transactions (other Azure queueing technologies do not)
70
+
- Up to 100MB message size on the Premium tier (see[Large messages support](https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging#large-messages-support) for more information)
71
+
- More native capabilities (including delayed message delivery, which requires an [outbox](/nservicebus/outbox) when using some other transports)
72
+
- Local development supported using the [Azure Service Bus Emulator](https://learn.microsoft.com/en-us/azure/service-bus-messaging/overview-emulator)
73
73
74
74
### Disadvantages
75
75
76
-
- Requires careful monitoring of costs, although the transport does provide features for throttling throughput
77
-
- Atomic message receive, and data manipulation requires an [outbox](/nservicebus/outbox).
76
+
- Requires careful monitoring of costs (although the transport does provide features for throttling throughput)
77
+
- Atomic message receive and data manipulation requires an [outbox](/nservicebus/outbox)
78
78
- Message processing time is limited to 5 minutes
79
79
- Relies on TCP, which may require opening additional ports in a firewall
80
80
@@ -99,15 +99,15 @@ Azure Storage Queues has fewer features than Azure Service Bus, but can be more
99
99
### Disadvantages
100
100
101
101
- The size of a single message is limited to 64 KB, including headers and body. NServiceBus uses headers for metadata, which could consume a lot of the message's overall size.
102
-
- Atomic message receive, and data manipulation requires an [outbox](/nservicebus/outbox).
102
+
- Atomic message receive and data manipulation requires an [outbox](/nservicebus/outbox).
103
103
- Does not offer a native publish-subscribe mechanism. A database is required for storing event subscriptions (via [NServiceBus persistence](/persistence)). [Explicit routing for publish/subscribe](/nservicebus/messaging/routing.md#event-routing-message-driven) must also be specified.
104
104
- Significant latency when receiving messages, due to polling over HTTP for new messages.
105
105
106
106
### When to select this transport
107
107
108
108
- When the application is running on Microsoft Azure, and the additional features of Azure Service Bus are not worth the cost
109
109
- When high throughput is not required
110
-
- When scale-out is not required. Scaling out requires Azure Service Bus
110
+
- When scale-out is not required (scaling out requires Azure Service Bus)
0 commit comments