Skip to content

Glossary — Erlang/Elixir ↔ RUSM

Erlang/ElixirRUSMNotes
processa Wasm instance running as a Tokio taskown stack, heap, syscalls, permissions
schedulera Tokio worker thread (work-stealing)M:N over a few OS threads
reduction countingWasmtime epoch interruptionforces fair yields, even in tight loops
mailboxper-process async channelhost copies message bytes across memories
send/2rusm::message::send(pid)fire-and-forget to a mailbox
receiverusm::message::receive()suspends the process until a message arrives
linkbidirectional failure propagationa crash signals linked peers
monitorone-way failure notificationobserve without dying together
supervisora process that restarts crashing children"let it crash"
:globaldistributed registrycluster-wide name → pid
Node.connect/1, epmdQUIC + TLS node transportsecure node-to-node links
iex --remshrusm attach <node>live REPL into a running node
:observerthe dashboard's observer viewlive processes, schedulers, memory
BEAMthe RUSM runtime (Rust + Tokio + Wasmtime)the host that runs everything

Terms specific to Phase 0:

TermMeaning
frameone sampled tick (throughput, latency, observer snapshot) sent to clients
scenarioa named benchmark (e.g. connection-storm); synthetic in Phase 0
synthetic sourcedeterministic generator producing scenario-shaped data per tick
detail toggleswitch for the costly per-instance observer table

MIT licensed