/plushcap/analysis/hasura/using-postgres-for-cron

Using Postgres for Cron

What's this blog post about?

The text discusses using PostgreSQL as an alternative to traditional cron systems. It highlights that Postgres is great for eventing and can be used to build a flexible and robust cron system with just a few lines of code. The author explains how time instances can be modeled as rows in a table, allowing for the creation of recurring or one-off events. They also mention benefits such as scaling by running more delivery threads, storing additional metadata, and being able to pause/cancel future events.

Company
Hasura

Date published
March 11, 2021

Author(s)
Tirumarai Selvan

Word count
684

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.