tpt-fabric
RustA pure-Rust distributed-computing substrate built on capability-controlled, temporally valid, failure-aware execution — intents, leases, epochs, and deterministic simulation as first-class primitives, not bolted-on RPC/queue/scheduler mechanisms.
Languages
tpt-fabric
A pure-Rust distributed-computing substrate built around explicit primitives for capability-controlled, temporally valid, failure-aware computation.
Fabric is not another RPC library, message queue, service mesh, Kubernetes clone, or actor framework. It defines a coherent execution model underneath TPT systems, answering one question:
How should distributed computation be represented when authority, resources, time, topology, failure, and communication are explicit parts of the computation?
See spec.txt for the full design rationale, and todo.md
for the phased build-out checklist.
Non-goals
Fabric is not:
- Kubernetes
- a database
- a generic service mesh
- a standalone consensus library
- a cloud provider abstraction
- a replacement for Boxcar or Keystone
It is the distributed semantic substrate that other TPT systems build on.
Core model
Fabric models execution as a state-transition pipeline:
Intent
↓
Capability + resource validation
↓
Reservation
↓
Placement
↓
Execution
↓
Messages / Streams / State transitions
↓
Trace
↓
Completion / cancellation / failure
The same abstract model operates against a real cluster and a deterministic simulator, so distributed behaviour can be reproduced, replayed, and compared before it's ever run for real.
Crate layout
| Crate | Purpose |
|---|---|
tpt-fabric-core | Foundational identifiers and value types |
tpt-fabric-model | Pure executable state-transition model (semantic reference) |
tpt-fabric-runtime | Concrete local execution runtime |
tpt-fabric-transport | Transport abstraction (in-process, TCP, QUIC, …) |
tpt-fabric-protocol | Wire protocol |
tpt-fabric-cluster | Cluster membership and topology |
tpt-fabric-placement | Placement and scheduling |
tpt-fabric-state | Distributed state primitives |
tpt-fabric-stream | Flow-controlled communication |
tpt-fabric-storage | Persistence interfaces (backed by Archon/Keystone) |
tpt-fabric-trace | Canonical distributed traces |
tpt-fabric-sim | Deterministic distributed-world simulator |
tpt-fabric-proof | Formal model and proof harness |
tpt-fabric-cli | Operational tooling |
Only the crates needed for the current build phase exist in the workspace; see
todo.md for what's implemented so far.
Status
Design specification and early implementation. Not ready for use.
License
Licensed under either of
- MIT license (LICENSE-MIT)
- Apache License, Version 2.0 (LICENSE-APACHE)
at your option.
Copyright TPT Solutions.