Re: Storing state machine

2021-04-19 Thread Mohan Radhakrishnan
After further research this may be accomplished using a 'SAGA'. The other question I was researching is the ordering of these records by timestamptz. If I have to use a orchestrator then I will pick sets of 1 records, for example, ordered by timestamptz. Should I be looking at a certain type o

Re: Storing state machine

2021-04-19 Thread Mohan Radhakrishnan
>Your requirement statement is extremely simple and I suspect you have > glossed over some of the constraints/requirements, but based on what you > have written, your requirement seems to be trivial and easily satisfied > with basic database facilities. Yes. I wasn't specific. There are multiple

Re: Storing state machine

2021-04-18 Thread Tim Cross
Mohan Radhakrishnan writes: > Hello, >We have a workflow when we receive events into the service. But we > don't have a way to choreograph or orchestrate the workflow. The > services are all independent and receive and respond to events. > > Since there is no order imposed by the e

Storing state machine

2021-04-18 Thread Mohan Radhakrishnan
Hello, We have a workflow when we receive events into the service. But we don't have a way to choreograph or orchestrate the workflow. The services are all independent and receive and respond to events. Since there is no order imposed by the event queues I was thinking of storing a simp