Skip to content

Architecture ​

This page is the current architecture map for TPF internals.

Use public Design/Develop/Deploy docs for application usage. Use this page when changing framework internals, compiler behavior, runtime ownership, or portability seams.

Current Architecture Reading Path ​

AreaStart here
Build-time compiler phases, IR, bindings, renderersAnnotation Processor
Generated artifacts and module ownershipPipeline Compilation
Runtime layout vs build topologyRuntime Layouts
Queue-async durable executionQueue-Async Runtime
Queue-async immutable segment/boundary modelImmutable Segment And Boundary Model
Await and callback admissionAwait Boundaries and Await Runtime Setup
Checkpoint handoffCheckpoint Handoff
Brokered runtime boundariesBrokered Runtime Boundaries
Runtime portability and Spring statusRuntime Core Decoupling and Spring Support Status

Current Control-Plane Shape ​

The current durable direction is a queue-driven async control plane:

  1. generated ingress accepts work over the configured transport,
  2. execution state is persisted,
  3. work is dispatched,
  4. a worker claims a lease,
  5. one transition runs,
  6. state is committed,
  7. terminal state is exposed through status/result APIs or failures move to the configured DLQ.

This is not a full event-sourced runtime in the current milestone. The target direction is described in Immutable Segment And Boundary Model: immutable segment and boundary facts first, with stores maintaining projections for efficient lookup.

Legacy Reference ​

The older broad architecture overview is preserved at Architecture Reference. Treat it as background, not as the canonical reading path.