Vlaander
← All engines

MOB · Financial Market Infrastructure — Retail Payments

Mobile Origin Transaction Router

A stablecoin payments router that acknowledges an intent only once it is on disk, is designed to refuse overload with an explicit 503 rather than drop it silently, and attributes the last-mile margin of every settled intent.

Overview

MOTR addresses a failure mode that becomes structural as stablecoin payments scale into retail distribution: payment aggregators receive bursts of simultaneous webhook calls from chat-bots and dynamic QR scanners, and an ingest stack that sheds load without telling the sender loses payment intents with no operator-visible signal.

Its central design property is that an intent is acknowledged only after it is durable in a write-ahead log, and that overload is refused explicitly (503 with Retry-After) rather than dropped. A TLA+ specification of the ingest design, model-checked with TLC on bounded instances, shows that no acknowledged intent is lost and none is recorded twice; Vlaander's kill -9 audits found every acknowledged intent after restart. A second specification covers routing and establishes at-most-one-success, so that a timed-out settlement is never re-sent to another rail; a third covers hedging (one order per currency per epoch, exposure conserved).

Commercially, MOTR gives the operator an instrumented view of where basis points are created across the settlement chain. Every settled intent produces a five-line basis-point margin record — interchange, FX spread, crypto spread, float value and payout FX — computed in exact arithmetic.

The problem

Retail stablecoin distribution produces bursty, non-Poisson ingest load with no back-pressure contract at the origin. An ingest path that fails open loses intents invisibly until reconciliation. Meanwhile, aggregators operating on thin transport economics have no instrumented view of where basis points are created or lost across the settlement chain.

What it does

  • Webhook ingest that acknowledges an intent only after its write-ahead-log record is fsynced; overload at the router is refused with 503 and Retry-After.
  • Multi-rail settlement routing with at-most-one-success under timeout: rails are retried with the intent id as idempotency key and changed only after a definitive decline.
  • Per-currency treasury with net-position epoch hedging — one order per currency per flush, not one per intent.
  • Pre-dispatch compliance gate, fail-closed, positioned ahead of settlement dispatch (reference screen: exact-match sanctions, country, limit and velocity rules).
  • Five-line basis-point margin attribution produced for every settled intent.
  • Native hot path: Rust NIF (constant-time HMAC-SHA256, simd-json, BLAKE3) feeding a C++ MPSC ring with lock-free producers, drained by a group-commit WAL writer.
  • Operational surface: 24 telemetry metric families, twelve SLOs with multi-window burn-rate alerting, OTP supervision-tree self-healing by WAL replay.

Performance

Measured 2026-10-09
MetricFigureBasis
Webhook acknowledgement latency (fsync before 2xx)p99 7.4–38.9 ms at 2,000 intents/s and 2.7–8.5 ms at 1,000/s across two sweeps on the hardware below (p50 0.5–0.8 ms)Measured by Vlaander
End-to-end saturationAbout 3,000–3,100 intents/s (each intent screened, routed, settled and margin-attributed; 4 durable WAL records per intent)Measured by Vlaander
Verify-parse-hash throughputAbout 238,000 operations/s on one BEAM scheduler; 463,000/s on two (1.94×, one per physical core)Measured by Vlaander
Acknowledged intents lost after kill -90 of 45,557 across two audits on the delivered archive (23,084 and 22,473 acknowledged before the kill)Measured by Vlaander
Burst of 20,000 webhooks over 1,000 connections20,000 of 20,000 acknowledged, 0 errors, drained in 9.5–12.8 s; all found on audit (three runs)Measured by Vlaander
Date
2026-10-09
Hardware
AMD EPYC 7763, GitHub Codespace (shared Azure VM), 4 vCPU (2 cores), 15 GiB
Toolchain
Elixir 1.16.3 / OTP 26 (official elixir:1.16-slim image), Rust 1.99.0 and nightly-2026-10-01 installed with rustup, the versions docker/Dockerfile pins
Source archive SHA-256
2f42c204401116549b9faf3251fdf69d30161f1b779ff0924b79601e0d90f4b8
Method
bench/vph.exs (verify-parse-hash through the NIF, 1/2/4 schedulers); bench/ack_sweep.sh (open-loop mob-load at fixed rates, 128 keep-alive connections, 30 s each, latency from each request's scheduled send time); mob-load burst; bench/crash_audit.sh (kill -9 of the BEAM mid-load, restart, GET every acknowledged id). Load generator on the same machine; WAL on a local ext4 disk.
  • Measured on the archive above. The archive delivered since 21 October 2026 (SHA-256 75de34a9866237f2184e11991ab1321c775f17838fe504e756684c4f961d7eb9) was rebuilt from it with only its LICENSE file rewritten for licensing; the code, tests and benchmark tools are byte-identical. The archive delivered since 17 November 2026 (SHA-256 188029a388eb1641127368ae5edfe30ef091d249c37aaa68ac1460022793d2c0) changes only two files: mix.exs, so that a fresh checkout's first `mix test` loads the native library (it previously failed 29 of 47 tests until a second run), and the bound of one margin property test, which was too tight for very small payout rates (test-only; the engine code is unchanged).
  • The machine was shared with other workloads (1-minute load average 0.6–6.7 during the runs), and the load generator ran on the same machine. Latency varied between runs: the two sweeps gave p99 7.4 ms and 38.9 ms at 2,000 intents/s.
  • Burst: three runs on 2026-10-10 against fresh servers acknowledged all 20,000 requests with no errors, under a host load average of 8–10. A first run on 2026-10-09 acknowledged only 10,200: the load generator, which uses two file descriptors per connection, hit the container's default limit of 1,024 open files, so about 490 of its 1,000 connections never opened. Re-running with that limit reproduced the 10,200 exactly; raising it for the load generator alone removed every error. The router was not the cause.
  • Acknowledgement latency is bounded below by the WAL disk's fsync latency; measure your disk first (bench/fsync_probe.c).
  • Scaling beyond two physical cores could not be measured on this machine; schedulers 3–4 run on SMT siblings and added 23%.
  • At 3,000 intents/s the system is at its knee (p99 108 ms in one sweep; in the other it reached only 2,836/s with p99 2.4 s); above about 3,100/s an open-loop client sees unbounded queueing, but nothing acknowledged is lost.
  • The catalogue's earlier statements (p99 under 50 ms; ≈210,000 operations/s per core, scaling linearly; zero dropped intents under burst, TLA+-proven) were not measured; the figures above replace them. TLC checks a bounded model of the design, not the code.

Measured figures were produced by Vlaander on the hardware above from the source archive you would receive. The benchmark tools ship with that source, so you can rerun them after delivery; nothing can be run before purchase. Any performance data is illustrative only and not a guarantee of your results. No refund is available after delivery, except where a remedy cannot lawfully be excluded.

Value in your own metrics

Last-mile margin visibility
Five basis-point lines — interchange, FX, crypto spread, float, payout — computed in exact arithmetic for every settled intent. Margin records are held in memory today; persisting them to the WAL is listed as pending below.
Acknowledged intents lost
None found: an intent is acknowledged only once WAL-durable and replays after a crash (TLC-checked design; 0 of 45,557 lost across two kill -9 audits; 0 of 60,000 across three 20,000-request bursts). Requests that are not acknowledged — refused with 503 + Retry-After, or failed at the connection — are for the sender to retry.
Webhook acknowledgement latency
p99 7.4–38.9 ms at 2,000 intents/s and about 238,000 verify-parse-hash operations per second on one scheduler, measured by Vlaander on the hardware above.
Cross-rail double-settle risk
Refused by design — a timed-out settlement is retried only on the same rail with the same key, never rerouted (TLC-checked at-most-one-success). This relies on each rail adapter being idempotent per intent id and reporting a decline only when no funds moved.
Treasury hedging discipline
Net-position epoch hedging: one order per currency per flush, not per intent.

Assurance and build

Language
Elixir 1.16 · Rust · C++
Runtime
BEAM · OTP supervision tree
Build
mix · Credo (strict) · Dialyzer · clippy::pedantic · sanitizers, all run by scripts/ci.sh — passing (a GitHub Actions workflow is included; it has not yet run on hosted CI)
Formal verification
3 TLA+ specifications (ingest · routing · hedging), TLC model-checked on bounded instances, each with negative controls that fail as intended — passing
Concurrency
MPSC ring with lock-free producers (no mutexes or system calls) under TSan · treasury invariants property-tested and model-checked — passing
Memory safety
Rust NIF and C++ ring under ASan/UBSan · about 8.2 million fuzz executions across 4 targets (60 s each), 0 crashes · HMAC signatures compared with a constant-time comparison (subtle crate), and a dudect-style timing test with a deliberately leaky control shows no detectable leak — passing
Durability
Group-commit WAL with pre-zeroed segments · no acknowledged intent lost in two kill -9 audits on the delivered archive — passing
Test coverage
Lines by component: Rust 95.5% (functions 96.1%), C++ ring 97.1% (functions 100%, branches 86.5%), Elixir 68.5% (functions 74.1%); 80.7% for all three together, indicative only because the three tools count lines differently. No branch figure for Rust (stable toolchain) or Elixir (Erlang cover has no branch measure). From the project's own tests (cargo, mix test and the ring test); one property test failed in that run. cargo-llvm-cov 0.9.1, Erlang cover (OTP 26), g++ 13.3 and gcovr 8.8, measured by Vlaander on 16 November 2026 on the previous archive (SHA-256 75de34a9…7eb9); the archive delivered since 17 November 2026 changes only mix.exs and that property test's bound
Dependency surface
33 runtime Rust crates, all permissive (MIT/Apache-2.0/BSD/ISC/Zlib/CC0/BSL) · no runtime Hex packages · SBOM included
Source archive SHA-256
188029a388eb1641127368ae5edfe30ef091d249c37aaa68ac1460022793d2c0

Releases are not yet cryptographically signed, and no release manifests or external audit summaries are published. Check the source tarball you receive against its SHA-256 in Schedule 1 of your Licence Agreement, which you see before you sign.

Scope and maturity

What is real today, what is deliberately excluded, and what is pending — published unprompted.

Included today

  • The router and margin-capture core: ingest, multi-rail routing, per-currency treasury, net-position hedging, pre-dispatch compliance, and five-line bps attribution.
  • Three separate TLA+ specifications — ingest, routing, hedging — TLC model-checked.
  • The native hot path: a Rust NIF (HMAC + simd-json + BLAKE3), a C++ MPSC ring and a group-commit WAL writer.
  • The operational surface: 24 telemetry metric families, twelve SLOs with burn-rate alerts, and supervision-tree self-healing.

Explicitly scoped out

  • Venue-specific endpoints — settlement adapters, quote sources, hedge venues, compliance screens — are wired by the operator behind well-scoped behaviours.
  • v1.2 is the router and margin core; adapters ship with mock and reference implementations (HTTP templates for rails and hedge venues, a static quote source, a reference compliance screen) for tests and benchmarks.

Pending

  • WAL-persisted margin records, a custodian reconciler for settlement-uncertain intents, and real fuzzy OFAC matching (v1.3).
  • IVMS 101 Travel Rule protocol, NIBSS name-enquiry pre-step, speculative parallel rail dispatch, and hedge cancellation (v1.3).

Who it's for

  • Payment aggregators and PSPs moving from transport economics to principal economics.
  • Stablecoin issuers and orchestrators building owned distribution rather than renting it.
  • Mobile money operators and telco-adjacent wallets facing burst ingest from conversational and QR channels.
  • Digital banks seeking last-mile margin attribution.

Before you buy

  1. Request the three TLA+ specifications and the TLC output; confirm the invariants stated match the invariants checked, and note that the models are bounded designs, not proofs of the code (spec/tla/README.md maps each action to the code).
  2. The source ships with the benchmark harness (bench/: vph, ack_sweep, crash_audit, under an hour), so after delivery you can rerun the acknowledgement latency, saturation rate and per-core rate on your own hardware and disk. Vlaander's figures come from a shared 4-vCPU VM. Sales are final once delivered, except where a remedy cannot lawfully be excluded.
  3. Check that each of your rail adapters is idempotent per intent id and reports a decline only when no funds moved; at-most-one-success depends on it.
  4. If you rerun the burst test (mob-load burst), raise the load generator's open-file limit above twice the connection count (ulimit -n) and, ideally, run it from a separate machine; at the default limit of 1,024 it cannot open more than about 510 connections.
  5. Establish which of your settlement venues, quote sources and compliance screens require adapters, and cost that wiring separately.
  6. Confirm the v1.3 pending items (WAL-persisted margin records, custodian reconciler, fuzzy OFAC matching, IVMS 101) against your own go-live compliance gate.

What you get

  • The asset's source, licensedSubject to the Licence Agreement, Vlaander grants the verified Buyer a perpetual, worldwide, non-exclusive, non-transferable licence to use, copy and modify the Asset, build it into the Buyer’s own products, and run, host and distribute those products to the Buyer’s customers in non-source form. The licence is for one company: it doesn’t cover affiliates. The source code stays confidential to the Buyer’s own staff and contractors, and may not be passed on, published or resold. Vlaander keeps ownership and licenses the same Asset to other businesses.
  • Its testsThe test suite the published assurance claims rest on, as delivered in the source archive.
  • Its audit artefactsSpecifications, model-checking output, reviews and the software bill of materials, where the asset has them.
  • Not includedThird-party and open-source materials are not sold, assigned or licensed by Vlaander. They remain under their own licences, listed in each asset’s software bill of materials (SBOM.md in the archive), and the Buyer is responsible for complying with those licences.

Licence

$2,700 paid once · or ₦3,645,000

Included

  • The engine's source archive, with its tests and audit artefacts, matching the SHA-256 in Schedule 1
  • A perpetual, non-exclusive licence for one company under the Licence Agreement

Not included

  • No updates
  • No support
Buy a licence

One price per engine, in US dollars, paid once. The source is what you get: Vlaander does not sell updates, support or bundles. The Licence Agreement you sign is the binding text.

First described in: VLA-GEN catalogue, 3 August 2026, §3.1. Revised by Vlaander against the delivered source; every figure is labelled with its basis.

From test to source

  1. 01

    Check

    Read the engine's page: what Vlaander measured and on which hardware, what it has not measured, and the open review findings. Nothing runs before purchase.

  2. 02

    Buy

    Verified businesses only. Choose an engine, give your company's details, have your authorised signatory sign the Licence Agreement, then pay the invoice in naira by bank transfer, or in USDC on Polygon. Once the payment is verified, your account shows Paid.

  3. 03

    Receive

    We confirm the funds and release the source tarball to you. Delivering, then Download ready. Check it against the SHA-256 in Schedule 1, then rerun the tests and benchmarks yourself.