跳到主要内容
Octopus Research Institute
TR-2026-0026技术报告同行评审: 未经同行评审证据强度: 实验性状态: 已发布

A sovereign DP router with mid-stream byte-identical failover

Ran Tao (Octoryn Research)

本文未经同行评审。请将其视为工作文档,而非经验证的结果。

摘要

A hand-written ("sovereign") HTTP reverse-proxy router fronts a data-parallel inference fleet and, on a mid-generation backend drop, greedily resumes the request on another backend, continuing byte-identically away from floating-point ties so the user sees no seam. Correctness is inherited from a separate cross-chip determinism result, not measured internally: no router-internal failover rate, latency, or seam count is recorded. This is an engineering/architecture report of seam-free, audit-logged failover under greedy decode; sampled decode and load/performance optimality are out of scope.

本 Research Object 以其原始语言(英文)发表。

Contribution

Claimed. We describe a hand-written ("sovereign", no third-party proxy) HTTP reverse-proxy router that fronts a data-parallel (DP) inference fleet and performs mid-stream failover: when a backend drops during generation, the router greedily resumes the same request on another backend and continues byte-identically away from floating-point tie positions, so the user does not observe a seam. Routing decisions and failover events are event-logged for audit. The correctness argument rests on a separately measured cross-chip determinism result (greedy decode, byte-identical rate on the order of ~96.9% across chips), not on a measurement internal to this note.

NOT claimed. This note does not claim byte-identical continuation under sampled (non-greedy) decode or at floating-point tie positions; it does not measure failover latency or overhead under production load; it does not claim load-balancing optimality or zero-cost routing; and it makes no generation-quality, throughput, or benchmark-scale claim. Honest altitude: this is an engineering/architecture report whose central correctness property is inherited from a cross-chip determinism benchmark. The byte-identical rate is the only quantitative result and it was produced by a different study; no new measurement of the router's own behavior (success rate, latency, seam-freeness rate) is recorded.

Design

AspectDescription
ComponentIn-house HTTP reverse-proxy router in front of the DP fleet
DifferentiatorMid-stream failover: on backend drop during generation, resume same request on another backend
Continuation methodGreedy resume; continues byte-identically away from floating-point tie positions
SovereigntyHand-written; no third-party reverse proxy
AuditabilityEvent-logged: every route and failover event is logged
Decode mode in scopeGreedy decode over the DP fleet

Evidence / Status

The router's seam-free claim is derived, not directly measured here. The supporting evidence is a cross-chip determinism benchmark referenced by this note:

QuantityValueProvenance
Cross-chip greedy byte-identical rate~96.9%Cross-chip determinism result (separate study)
Behavior away from sub-ULP floating-point tiesExactly identicalSame separate study

The logical bridge: because a continuation computed on a different backend matches what the original backend would have produced (greedy decode plus cross-chip determinism), a dropped stream can be picked up without a user-visible seam at non-tie positions. The router itself is presented as a prototype — no router-internal measurement (failover success count, latency, observed seam rate) is recorded.

Limitations

  • Inherited (not internal) evidence. The single quantitative anchor (byte-identical rate ~96.9%) comes from a different benchmark. This note records no measurement of the router itself — no failover success rate, no latency/overhead, no count of seams observed in practice. The seam-free property is argued, not demonstrated.
  • Determinism is not 100%. At the small fraction of positions that are not cross-chip byte-identical (sub-ULP floating-point ties), a post-failover continuation can diverge from what the original backend would have emitted. The "byte-identical" claim is explicitly scoped to non-tie positions under greedy decode.
  • Greedy-only. Sampled (non-greedy) decode is out of scope; the byte-identical continuation argument does not hold there.
  • No load/perf characterization. Failover latency, overhead under concurrent production load, and load-balancing optimality are unmeasured.
  • Parity != quality. Byte-identical continuation is a determinism/correctness property; it says nothing about generation quality.
  • Evidence level. Carried forward as "experimental"; note that the experimental anchor lives in the referenced determinism study, not in this note's own data. A stricter reviewer could classify this note alone as design/architecture with inherited evidence.

Provenance / Relation

  • Relation. Builds directly on the cross-chip determinism result (greedy decode byte-identical rate ~96.9% across chips; exactly identical away from floating-point ties). That result is the load-bearing dependency for the failover-correctness argument.
  • Build/runtime. Compiled-from-source release build on commodity Apple Silicon (M-series) hardware; the runtime uses only the platform's native linear-algebra primitives, with no third-party ML framework dependency.
  • Reproducibility caveat. Validate the cross-chip determinism oracle first — the failover correctness claim is only as strong as the byte-identical determinism measurement it inherits.

声明边界

作者对范围的明确界定——本工作证明了什么、未证明什么——沿用自 Octoryn Research 的发表模型。

证明

  • An in-house HTTP data-parallel router can resume a request mid-generation on another backend and continue byte-identically away from floating-point ties, leaning on a separate cross-chip determinism result; routing and failover are audit-logged.

未证明

  • Byte-identical continuation under sampled (non-greedy) decode or at floating-point tie positions.
  • Latency or overhead of failover under production load.
  • Load-balancing optimality.
  • Any router-internal measurement (failover success rate, observed seam rate); none is recorded, and the only quantitative anchor is inherited from a separate determinism study.
  • A benchmark-scale evaluation of the router itself.

适用于

  • Greedy decode over the data-parallel fleet, where a backend drops mid-stream.

不适用于

  • Sampled decode, or claims of zero-cost or load-optimal routing.
  • Positions that are not cross-chip byte-identical (sub-ULP floating-point ties), where a post-failover continuation can diverge.

作者

  • Ran Tao — 调查研究, 写作

引用本文

引用格式

Tao, R., Octoryn Research. (2026). A sovereign DP router with mid-stream byte-identical failover (TR-2026-0026). Octopus Research Institute.

BibTeX

@techreport{oritr20260026,
  title       = {A sovereign DP router with mid-stream byte-identical failover},
  author      = {Tao, Ran and {Octoryn Research}},
  institution = {Octopus Research Institute},
  year        = {2026},
  note        = {Permanent ID TR-2026-0026. Not peer reviewed.}
}

披露

资助
硬件与基础设施由 Octoryn / Octopus Core Pty Ltd 提供。
利益冲突
Octoryn 提供商业推理与治理工具;相关发现独立报告。