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?

