3 ms·
Example?
by mrkeen 3y ago
Example?
- segmondy 3y agoYour undo operations will be very simple. So instead of having a complex logic. Have a simple lambda function that talks to a queue. That's it. It accepts an undo command. You read a command you stuff it in the queue done. No DB, No servers. If you were running this yourself. You will have a simple API (distributed) that does the same to a distributed queue/cache. Done. Your complex job can now pick up the undo commands from the queue and execute with logic to retry if for some reason it fails.