3 ms·
> Cron jobs are the definition of the anti pattern of treating servers like pets and not cattle What's old is new again. Much of clean distributed systems deve
by gravypod 8y ago
> Cron jobs are the definition of the anti pattern of treating servers like pets and not cattle
What's old is new again. Much of clean distributed systems development is now built on, what is essentially, scheduled period operations. They're pretty much the least complicated ways to loosely couple domain logic in distributed systems that follow eventually-consistent semantics. They're also a good model for the functionality of many distributed scheduling systems like Kubernetes, AWS' ECS Scheduled Tasks, and more.
Kubernetes even goes so far to have Jobs (batch operations) and CronJobs (scheduler that creates Jobs).
- scarface74 8y agoI use AWS’s native services most of the time like CloudWatch to schedule jobs, lambdas, and step functions these days, but to keep the post generic, I mentioned Nomad/Consul that I have used in the past for an on prem implementation that kept us from having to bring Docker into the mix. Since we were already using Consul, using Nomad just made sense.
- hestefisk 8y agoDepends on the use case / workload.