Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

The right way of hosting worker threads on each rounded hour

$
0
0

Hi,

I'm making an application which is supposed to have multiple threads/services (bots) running. Those threads are supposed to check an API for current currency values. There will be some calculations on each rounded hour (e.g. 10:00, 11:00, etc).

Currently, I'm running Angular (front-end) and ASP.NET Core 2.2 MVC + SignalR (back-end).

What's the right way of hosting those threads/services? Assuming those threads are spawned based on database records.

I was looking at https://docs.microsoft.com/en-us/aspnet/core/signalr/background-services?view=aspnetcore-2.2 but I'm not quite if that's the right solution since I have to display the results in the front-end with SignalR if they match to certain conditions.

What's the right way of doing that scenario?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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