96 calls a day
Every quarter of an hour a script checks whether a scheduled run has failed. That makes 96 checks a day. Before the change, every check woke a model: 96 model runs a day.
Now the script counts first. If the count is 0, the check ends there. Normally: 0 model runs, 96 counts.
Example, one open door: 5 model runs, 91 counts.
Real serenos walked only at night. This one walks around the clock: 96 calls from midnight to midnight, and the sky runs through the day once.
From above the day runs through. Orange is light: at night the alleys glow, by day the sun lies on the roofs and the houses throw blue shadows onto lower roofs and into the alleys. A courtyard turns orange when a model ran. At the end the street lamps go out and two days stand one above the other: the new one, and the old one in which every call woke a model.
Three tracks and a watchdog
- Track A, mechanical. Runs as a script, if needed with a cheaper model.
- Track B, optimised. A script checks, a model only when needed. This is the quarter-hour check above.
- Track C, unchanged. Full quality, full control.
- Watchdog. Every 10 minutes a script without a model checks whether every task has reported. If one stays silent, an alarm goes off.