Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
Why a company with VC backing for something so simple? I am confused why somebody would think this is so important, they would need funding. Anybody with 1-2 years development experience should be able to hack something up in redis or even just crontab and flag files.<p>I use postgraphile graphile-worker <a href="https://github.com/graphile/worker">https://github.com/graphile/worker</a> for this.<p>For example, every month we roll over credits. For each user, when they signed up, 30 days from that, check. If they are available for roll over, reset and email. Then we have drip campaigns for alerts like running low on credit.<p>Also, if you upgraded your account, then pause payment, it uses a worker to schedule the date they are paid up to run the SQL to downgrade.  With a simple API called 'addJob' that looks for a JavaScript file in a folder called task.