Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Worker Role and Worker Role with Service Bus Queue

What is the difference between these two implementations, can someone tell which one is to use under what scenario?

Also pros and cons if there is any? Thanks in advance.

like image 386
afr0 Avatar asked Sep 03 '25 13:09

afr0


1 Answers

There isn't really any difference between the two. Worker role with Service Bus Queue is just a VS project template that adds the Service Bus dependencies and configures an empty message handling function and adds the code ready to set up your own connection string etc.
If you are planning on implementing a worker role that reads from a queue it will save you a little typing time. If you prefer you can create a basic Worker Role project and add queue handling logic to it, you will ultimately achieve the same thing.

like image 138
Alex S Avatar answered Sep 05 '25 17:09

Alex S



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!