Skip to main content

Control Layers: Hz (Outer) vs ACK (Inner)

The Monolex render pipeline has two control mechanisms that operate at different layers:
  • Hz Detection = Outer Control Layer (Rust side)
  • ACK Gating = Inner Control Layer (TypeScript side)

The Layered Architecture

Why “Outer” and “Inner”?

Side-by-Side Comparison

Pipeline Flow with Control Layers

Cost Reduction Summary

Summary Table

Key Insight

Summary

Hz = Outer Control

Rust-side timer interval. Controls how often we attempt to render.

ACK = Inner Control

TypeScript-side backpressure. Controls whether we can emit this frame.

Proactive vs Reactive

Hz slows down before hitting wall. ACK stops when wall is hit.

Layered Protection

Two layers ensure optimal efficiency across entire pipeline.