Urgent.News

What's breaking now, across thousands of outlets.

Tech

Node.js Reminder Queue Practices: Creating Background Jobs with Delivery Guarantees

TL;DR: The best practices for creating a Node.js background job queue for reminders are to make work safe to repeat, record every state transition, stop admitting new jobs before shutdown, and let leases expire only after the handler releases its claim. A duplicate delivery is usually recoverable; a reminder marked complete before the external notification succeeds is not. A rate-limited worker…

We haven't written up this one. Dev.to has the full story — the link below goes straight to it.

Read the original at dev.to →

More in Tech

Using the ANAF API to monitor Romanian suppliers' VAT and inactive status

Romanian tax law has a rule that bites quietly. If you buy from a supplier while it is listed in ANAF's register of inactive taxpayers , you can't deduct the expense or the VAT on that purchase…

  • Romanian tax law disqualifies expenses and VAT deductions for inactive suppliers in ANAF registry
  • VAT deduction lost the day after cancellation under Article 316(11) of Fiscal Code
  • ANAF API monitors up to 100 CUIs, compares snapshots, reports changes in JSON output

More from Tuesday 17 November →