Learn / Runtime Lab
Runtime Lab
Parallel / Concurrent / Composable
ALUX supports replayable long transactions: independent tasks run together and transactions coordinate through messages. The booking scenario illustrates the target model for settling related cross-system effects as one atomic result.
A premium technical illustration of the ALUX runtime connecting nodes, cloud services, devices, agents, capability tokens, and commit rails.
The simple difference
Three words, three very different runtime jobs
Parallel runs independent transactions at the same time. Concurrency lets transactions interact through channels: one transaction can wait for a matching message from another, then continue. Composability binds state transitions from different systems into one auditable atomic transition.
In the current ALUX runtime, independent work can run in parallel, transactions coordinate through messages, and execution can resume across blocks. Atomic composition across independent systems remains an architecture target.
More independent work finishes in the same amount of time. But parallelism alone cannot make those jobs exchange messages or let a long transaction wait and continue.
Parallelism finds several answers at once. It does not make those jobs interact.Parallel
Flight, hotel, transfer, and insurance
search at the same time
- What it means
- Parallel execution means independent jobs run at the same time. A travel agent can search flights, rooms, transfers, and insurance without making one search wait behind another.
- How ALUX does it
- Parallel execution is native to ALUX's process calculus: transactions share no memory, and any interaction is confined to tuple-space channels. Independent transactions therefore advance in separate TVM lanes, while Block Merge resolves state overlap at commit time.
- What it enables
- More independent work finishes in the same amount of time. But parallelism alone cannot make those jobs exchange messages or let a long transaction wait and continue.
Parallelism finds several answers at once. It does not make those jobs interact.
Try the whole runtime
Model one atomic booking
Use four actions to explore the target composition model: start reservation and payment checks, leave a room-availability wait, deliver the hotel's matching message, then model a joint confirmation.
Reservation and payment checks advance independently.
The reservation leaves an availability condition in the channel.
The matching message activates the booking continuation.
Room hold and payment authorization commit as one result.
Play it in order
Independent work does not wait behind one global queue.
The dependency lives in a channel instead of blocking the runtime.
The COMM creates the continuation; ReplayTrie records the choice only when the match is non-deterministic.
The target is one all-or-nothing result with reproducible settlement evidence.
Runtime path
What keeps a service alive
A long-running service stays coherent because every step can run, interact, carry explicit authority, replay deterministically, and settle along one verifiable atomic path.
TVM process lifecycle
A process can fork, wait in one block, and resume in a later block without restarting its local execution context.
Tuple space + COMM
A waiting consume meets another transaction's produce. The match activates the continuation while unrelated work keeps moving.
OCAP boundaries
Unforgeable capability references are passed explicitly, so each step receives only the authority it needs; identity does not automatically bring unrelated authority into scope.
ReplayTrie
Only the non-deterministic COMM choices that matter are recorded, so validators can reproduce the same execution.
BlockGit + Block Merge
Concurrent work enters verified fringes, where overlaps are classified as accepted, rejected, or undecided before finality.
Next layer
One logical runtime across many environments
Runtime Lab shows current parallel and message-driven execution, then illustrates the target atomic composition model. GLVM describes the broader architecture for extending that logical model across blockchain nodes, cloud services, and personal devices.
Why it matters
Not faster blocks. Long-running services.
Parallelism handles independent execution. Concurrency handles message-driven interaction and wait/resume. ALUX implements those runtime foundations today and is building toward atomic composition across system boundaries.
More throughput, but no transaction dependency or message matching.
Transactions can interact and wait, but cross-system effects may still settle separately.
An atomic boundary exists, but without interaction and waiting it cannot carry long-running dependencies.
