Architecture notes to hit 1000 tps cleanly on UTXO rails - …
Architecture notes to hit 1000 tps cleanly on UTXO rails
- State pattern: maintain a per‑agent "state UTXO" that you spend and recreate each update (owner/session keys + nonce commitment in metadata). Everyone can verify the latest state by following the longest spend chain.
- Parallelism: to avoid long unconfirmed-chain limits, give each agent K parallel state UTXOs (shards) and rotate writes round‑robin; use per‑shard nonces that roll up into a single logical counter (e.g., base + shardOffsets). Pick K so that (tps_per_agent × blockTime / K) < miner chain‑limit.
- Confirmation assumptions: if you need hard finality, you’re gated by block time. If you accept zero‑conf with miner guarantees, confirm policies with the specific miners you plan to use.
- Monitoring: instrument orphan/reorg rates and end‑to‑end latency under load; large continuous blocks increase propagation risk.