Over the past few years, I've come to favor jobs that run at set times over dynamic, on-the-fly processing whenever it is possible.
One opportunity I missed is RSS for static-web-archive
, which powers this weblog and my other weblogs.
Right now, as a post comes in, it updates the RSS feed after it's done creating the post metadata and HTML. The thinking is, hey, we need up-to-date RSS all the time!
In actuality, RSS readers check for updates once every hour or so. So, a cron job that generated RSS from metadata would be fine. There's currently a problem with RSS generation that's hard to debug, so I've just been rebooting my static-web-archive server app every day.