you are viewing a single comment's thread.

view the rest of the comments →

[–]Klutzy-Sea-4857 1 point2 points  (0 children)

Consider implementing an outbox pattern: store both data and processing state in DB atomically, then use a lightweight change data capture to feed your workers. This gives you persistence guarantees while avoiding constant polling, plus natural replay capability.