Chapter 6: Scheduling and Notifying in Orleans
It is a very common requirement in any application or product to execute a task/job at a specified date-time or a specified interval on a recurring schedule. A very common example of scheduling in our day-to-day life is alarms and reminders that we get from devices and apps such as phones, Outlook, and so on. The Orleans runtime provides us with two features, called timers and reminders, that enable the developer to achieve scheduling in grains.
It is also a very common requirement to send asynchronous notifications to clients. The Orleans runtime provides a feature called observers through which we can send notifications in grains.
This chapter will cover the following:
- Understanding and implementing timers
- Understanding and implementing reminders
- Understanding and implementing notifications