Comment

Comment by flux293m

An approach I moved from this to, was to use the DB trigger to write jobs directly to an Oban oban_jobs table.

Oban jobs run almost instantly when they are queued so there's no perceptible difference in speed, but you get all the benefits of resilience that Oban provides, so your webapp connection can go down, such as during a deploy, and still catch up reliably.

It's also handy to be able use the oban_jobs table for debugging purposes.

parent flux293m 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton