MS has recently introduced the Microsoft.Azure.ServiceBus namespace.
https://github.com/Azure/azure-service-bus/blob/master/samples/readme.md
It is geared for the new .net standard framework (as if MS doesn't have enough semi-redundant code bases)
My question is, how much better could it be in terms of performance?
I can say with confidence, that the Microsoft.ServiceBus.Messaging leaves lots to be desired, in particular when it comes to persistent receiving.
A very useful feature of the Microsoft.ServiceBus.Messaging , is the message pump, built on top of OnMessage() method.
The new library, doesn't have this, and needs to rebind event handlers on every receipt to keep pumping. Definitely a step backward .
Looking for feedback from anyone who has had experience with both and can compare..
Azure Service Bus is a fully managed enterprise message broker with message queues and publish-subscribe topics (in a namespace). Service Bus is used to decouple applications and services from each other, providing the following benefits: Load-balancing work across competing workers.
The Kafka Connect Azure Service Bus connector is a multi-tenant cloud messaging service you can use to send information between applications and services. The Azure Service Bus Source connector reads data from a Azure Service Bus queue or topic and persists the data in a Kafka topic.
Firstly, RabbitMQ is an open source message broker, that supports a wide range of protocols. Then, Azure Service Bus is a cloud based message broker from Microsoft. It supports fewer protocols but offers additional features such as automatic scalability and disaster recovery.
The Azure Service Bus cloud service uses the AMQP 1.0 as its primary means of communication.
To address your question, what .netstd library offers that was not in .netframework one:
Message
vs BrokeredMessage
. Your data is no longer serialized by the client.Performance wise it should be on par with the old client if not better.
A very useful feature of the Microsoft.ServiceBus.Messaging , is the message pump, built on top of OnMessage() method.
You still have OnMessage API, though renamed to RegisterMessageHandler
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With