I know how to model a state machine with a flow chart, it make sense.
But I’m designing an API to control websockets and manage a web websocket service via HTTP similar to pushpin. So I have at least 4 state machines. But then there’s the events and commands that get sent around that change state and I’m at a complete loss of how to model that.
I can muddle through in my head but, I want to prove it out somehow. Anyone have any experience modeling state in a distributed system?