News for hackers. Stuff that matters.
Re:Applying event-driven architecture in digital transformat... by hestefisk on Friday February 04, 2022 @08:01AM (#30206262)
I was wondering if one could have simpler, more consider, and efficient code with a simple queue system and some Go or python code? Using a BPM system to process orders from a web site is like using a sledgehammer to crack a nut.
Re:Applying event-driven architecture in digital transformat... by mfateev on Friday February 04, 2022 @03:35PM (#30212738)
Look at the temporal.io. It is essentially a BPM system that uses Go (as well as Java/PHP/Typescript) to specify business process. And a queue + DB is never simpler for such scenarios.

Disclaimer: I'm one of the founders of the project.

Re:Applying event-driven architecture in digital transformat... by tremon on Friday February 04, 2022 @03:12PM (#30212372)
That depends on whether your queue system and the rest of your data/processing system fully respects data ordering requirements. A webshop sales process is quite simple to order, but if you have multiple events driven by the same queue, you also need a way to synchronize the results of those processes with the main queue.

So, as always, it depends.

Re:Applying event-driven architecture in digital transformat... by chasd00 on Friday February 04, 2022 @02:15PM (#30211522)
it's a balance. Sometimes you need a pickup truck other times you need an 18 wheeler. Sometimes, you even need container ship. People like to pick what they know so you end up with some strange setups out there.