by bencollier49 · 6y ago · 0 comments
It also has a great visual interface using BPMN for understanding where your processes are in a flow. I don't see anything like that in Temporal.
https://camunda.com/why-camunda/
Incidentally, an iteration of Camunda called Zeebe leverages event-sourcing to work more efficiently at scale.
Temporal represents all the business logic in one place in the programming language of your choice. All parameter passing is strongly typed.
I see people advocating visual representation for workflows. But if it is so great for programming in general, why they don't advocate the same for systems programming, for example? Linux kernel in JSON/XML anyone?
BPMN vs code is something we have considered. Our workflow engine works more like state machines as code, which is kind of the worst of both worlds. The business processes get fragmented into logic for each state, and mixed with imperative effects, so its neither easy to see the process nor maintain the code.
The nice thing about BPMN is that it's probably a bit more learnable by the subject matter experts who ultimately determine what the correct business process should be. However, having seen some pretty monstrous process flowcharts, my guess is that it probably doesn't scale past a certain level of process complexity. I suspect that workflow-as-code is ultimately the more scalable option.
[1] https://www.infoq.com/articles/events-workflow-automation/
waitForApproval(purchase);
sleep(Duration.ofDays(30));
sendEmail(email);I've used it for microservices orchestration previously and it works great.
I'm excited for Zeebe too but it's a bit immature atm.