Skip to content

Commit d4ea445

Browse files
Merge pull request #278738 from EldertGrootenboer/express-entities
Added express entities section
2 parents 954812c + 8acdaad commit d4ea445

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

articles/service-bus-messaging/service-bus-queues-topics-subscriptions.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ In many scenarios, messages that have specific characteristics must be processed
9191
For a full working example, see the [TopicFilters sample](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/servicebus/Azure.Messaging.ServiceBus/samples/TopicFilters) on GitHub. For more information about filters, see [Topic filters and actions](topic-filters.md).
9292

9393
## Java message service (JMS) 2.0 entities
94+
9495
The following entities are accessible through the Java message service (JMS) 2.0 API.
9596

9697
* Temporary queues
@@ -102,6 +103,14 @@ The following entities are accessible through the Java message service (JMS) 2.0
102103

103104
Learn more about the [JMS 2.0 entities](java-message-service-20-entities.md) and about how to [use them](how-to-use-java-message-service-20.md).
104105

106+
## Express Entities
107+
108+
Express entities were created for high throughput and reduced latency scenarios. With express entities, if a message is sent to a queue or topic is, it is not immediately stored in the messaging store. Instead, the message is initially cached in memory. Messages that remain in the entity are written to the message store after a delay, at which point these are protected against loss due to an outage.
109+
110+
In regular entities, any runtime operation (like Send, Complete, Abandon, Deadletter) is persisted to the store first, and only after this is acknowledged to the client as successful. In express entities, a runtime operation is acknowledged to the client as successful first, and only later lazily persisted to the store. As a result, in case of a machine reboot or when a hardware issue occurs, some acknowledged runtime operations may not be persisted at all. This means the client gets lower latency and higher throughput with express entities, at the expense of potential data loss and/or redelivery of messages.
111+
112+
Additionally, over time many optimizations have been done within Service Bus, meaning that the throughput and latency advantages of express entities are currently minimal. Moreover, the Premium tier of Service Bus does not support [Express entities](service-bus-premium-messaging.md#express-entities). Due to this, it is currently not recommended to use this feature.
113+
105114
## Next steps
106115

107116
Try the samples in the language of your choice:

0 commit comments

Comments
 (0)