Re:Ask HN: Scheduled events in an event sourced system
by crowdswisdom on Wednesday December 29, 2021 @10:52AM
(#29725885)
Thanks for the reply and the thoughts. Interesting to hear that you're having a similarly hard time finding answers.
I've come across these concepts of "sagas" and "process managers" that sound maybe like what I'm trying to do. But it seems to me like all it might need to be is a background process that issues commands.
Re:Ask HN: Scheduled events in an event sourced system
by giantg2 on Wednesday December 29, 2021 @01:54PM
(#29728402)
There are tools for process maps that can execute code at specific steps based on criteria. I spent several years working with IBM Filenet process maps. There are other, similar tools. You can also build a rules engine in a DB with a either a background process checking those conditions or potentially triggers tied to the data (depending on the DB).
There certainly are answers to be had. I just believe that in this corporate world, people understand that it's best for their career to call what they work on by some fancy new name so they can look good and make more money.
There could be some other options. It depends on what the task needs to do and where it is in the process. There are triggers one could use, push style notifications from a prior step, etc. It could even make sense to keep a certain task as batch depending on how it fits in with the other processes.