Azure WebJob or Scheduler or other technology?
I am writing an Azure based MVC website for a gym booking engine. I need to be able to continue membership expiration, suspension, and gym attendance (i.e. logging to the database if a session was missed). Each of these tasks requires you to run a "C # utility function" that will traverse the database, perform some checks, and update records as needed.
I need this to run fairly regularly to ensure that missed sessions are logged as soon as possible. Should I develop this as an Azure WebJob and run it constantly? Should I do it differently? If I could get some suggestions for itineraries that would be greatly appreciated.
thank
source to share
You have several options: Web Jobs , Scheduler, and Worker Roles .
Web Jobs are a good add-on to an existing azure web application and have no additional cost. Web Jobs uses a cover planner if you choose to schedule your Internet work at a non-continuous interval. Here is a good answer describing the differences between the two.
Worker roles will be the next logical step away from working on the Internet. Worker roles are dedicated cloud service virtual machines that can provide more power and scalability. Worker roles can also do much more than just perform tasks.
For the application you described, if you are already running Azure App Services (Web App), it sounds like a continuous webJob would be the right choice.
source to share