/examples _ cd /
[!NOTE]
Asyncmachine-go is an AOP Actor Model library for distributed workflows, built on top of a lightweight state
machine (nondeterministic, multi-state, clock-based, relational, optionally-accepting, and non-blocking). It has
atomic transitions, RPC, logging, TUI debugger, metrics, tracing, and soon diagrams.
Examples
- #relations #handlers #async #auto #dependency-graph
- #relations #handlers #negotiation #auto
- origin
- #relations #handlers #async #multi
- origin
- #relations #handlers #async #negotiation #multi
- origin
- #relations #handlers #async #negotiation #auto
- origin
- #relations #handlers #async #negotiation #auto #temporal
- origin
- #relations #negotiation #auto #arpc #otel #metrics #grafana #generator #data
- origin
Benchmarks
- #relations #handlers #negotiation #arpc #grpc
- origin
- #relations #handlers #async #negotiation #libp2p
Demos
Debugging Sessions
Interactively use the TUI debugger with data pre-generated by:
- libp2p-pubsub-simulator
- web terminal: http://188.166.101.108:8080/wetty/ssh
- remote terminal:
ssh 188.166.101.108 -p 4444
- local terminal:
go run github.com/pancsta/asyncmachine-go/tools/cmd/am-dbg@latest --import-data https://pancsta.github.io/assets/asyncmachine-go/am-dbg-exports/pubsub-sim.gob.br
- remote integration tests
- web terminal: http://188.166.101.108:8081/wetty/ssh
- remote terminal:
ssh 188.166.101.108 -p 4445
- local terminal:
go run github.com/pancsta/asyncmachine-go/tools/cmd/am-dbg@latest --import-data https://pancsta.github.io/assets/asyncmachine-go/am-dbg-exports/remote-tests.gob.br
Case Studies
Bigger implementations worth reading:
monorepo
Go back to the monorepo root to continue reading.