News for hackers. Stuff that matters.
Re:I send myself automated emails to practice Dutch by jedberg on Friday December 27, 2024 @01:42PM (#42524771)
> With all respect and love to the OP, I must admit that I laughed out loud when I saw the AWS architectural diagram

OP actually did it more efficiently than most! You should see the AWS suggested architecture. It uses something like 10 different AWS services.

My company actually set out to solve this very problem. We have a cloud cron hosting that's more reliable than the AWS architecture but just requires a few lines of code. Literally this is all you have to do:

    @DBOS.scheduled('* * * * *')
    
    @DBOS.workflow()
    def example_scheduled_workflow(scheduled_time: datetime, actual_time: datetime):
      DBOS.logger.info("I am a workflow scheduled to run once a minute.")
https://github.com/dbos-inc/dbos-demo-apps/blob/main/python/...
Re:I send myself automated emails to practice Dutch by huijzer on Friday December 27, 2024 @01:54PM (#42524898)
I think this is where Cloudflare shines. They just focussed on the essentials with Workers (“serverless”) at the core of everything instead of VPS at the core of everything.
Re:I send myself automated emails to practice Dutch by jedberg on Friday December 27, 2024 @01:58PM (#42524950)
Yes, DBOS has a similar philosophy. Strip away all the hard and annoying parts, let you just code. Our other philosophy is "just do it in Postgres". :)

FWIW you can't really do the same thing on Cloudflare workers -- their crons are "best effort", and you'd still need to get storage somewhere else. With DBOS the storage is built right in.

Re:I send myself automated emails to practice Dutch by piperswe on Friday December 27, 2024 @03:40PM (#42525848)
Cloudflare Durable Objects have alarms you can use to imitate cron, and have storage built-in (there's even support for SQLite databases attached to DOs in beta)
Re:I send myself automated emails to practice Dutch by QuinnyPig on Friday December 27, 2024 @01:47PM (#42524812)
You’re not kidding about AWS’s own architecture diagrams.