Hacker News new | ask | show | jobs
by tonyhb 1369 days ago
For #2, you want an event driven scheduler that can coordinate between events.

We've built this at https://www.inngest.com. You can run functions based off of schedules or events, with things like "when this event happens, run 20 minutes after the event". Or, "run, wait for another thing to happen, then continue".

Event driven schedulers do all the regular scheduling, but with a few benefits:

- It's reactive

- You can fan-out, so one event runs many functions

- You can store all events for debugging, replay, local testing, typing, etc.

We could plumb in an event source for #1 which indicates sunrise and sunset. Heh.

1 comments

Nice project and good looking page. Just fyi but the "s" in "background jobs" is a bit cut off for me (Chrome on Pixel 6 Pro) https://ibb.co/42j18fk