tpt-fabric

Rust

A 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.

0 stars0 forks0 watchersApache License 2.0

Languages

Rust100.0%
README

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

CratePurpose
tpt-fabric-coreFoundational identifiers and value types
tpt-fabric-modelPure executable state-transition model (semantic reference)
tpt-fabric-runtimeConcrete local execution runtime
tpt-fabric-transportTransport abstraction (in-process, TCP, QUIC, …)
tpt-fabric-protocolWire protocol
tpt-fabric-clusterCluster membership and topology
tpt-fabric-placementPlacement and scheduling
tpt-fabric-stateDistributed state primitives
tpt-fabric-streamFlow-controlled communication
tpt-fabric-storagePersistence interfaces (backed by Archon/Keystone)
tpt-fabric-traceCanonical distributed traces
tpt-fabric-simDeterministic distributed-world simulator
tpt-fabric-proofFormal model and proof harness
tpt-fabric-cliOperational 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

at your option.

Copyright TPT Solutions.