Home / Companies / Hasura / Blog / Post Details
Content Deep Dive

Using Postgres for Cron

Blog post from Hasura

Post Details
Company
Date Published
Author
Tirumarai Selvan
Word Count
684
Language
English
Hacker News Points
-
Summary

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.