Just because an answer is "obvious" doesn't mean it is correct.
The frequency with which you check for the event depends only on how quickly you have to react to it when it does happen.
If the SLA says that the system must respond with 15 seconds of the event happening, then you have to check for it at least that often. It doesn't matter whether it happens every 30 seconds or every 30 days.
I reckon we are the only monastery ever to have a dungeon stuffed with 16 ,000 zombies.
| [reply] |
The status is checked at such periods is because a DB entry needs to be updated, so the front-end UI, driven by JS, represents the accurate status of the grow lamp being on or off. If something goes wrong, I can't just check every X hours; I need to know live-time whether things are ok or not. To further, the checks happen to ensure the sanity of the day, the time of day, and that the configuration is correct for the "season" for which we're growing in.
| [reply] |