Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Is it a good idea to use QueueBackgroundWorkItem for event hub send data operations?

$
0
0

Hi everyone,

I have a wep api that getting more than 100 request in a second and it needs to answer back fast.

There are two main job in every request:

-Get the answer from cache and return it to user

-Send the result to event hub (for some hourly calculations)

The second part doesnt interest the api caller. So any errors and slowness, timeouts shouldnt change my response time.

My questions:

So how should be the implementation?

Can i use "HostingEnvironment.QueueBackgroundWorkItem" for that kind of background job? What are your suggestions?

Can using async version of event hub send methods change anything about scalability and performance for the possible implementations?



Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>