{"slug": "11-million-tps-on-spanner-what-keeta-s-blockchain-settlement-layer-reveals-about", "title": "11 Million TPS on Spanner: What Keeta's Blockchain Settlement Layer Reveals About Agent-Driven Financial Infrastructure", "summary": "Keeta Network demonstrated 11 million transactions per second on Google Cloud Spanner in a public stress test, running its layer-1 blockchain settlement layer on the globally distributed database with TrueTime-based external consistency. The architecture separates consensus from storage, letting autonomous trading agents query Spanner directly for state and use bounded-staleness reads, strong reads, or TrueTime commit timestamps depending on their execution model. Keeta routes observability through Spanner change streams into a separate analytics pipeline to keep telemetry off the critical write path.", "body_md": "Keeta Network recently demonstrated 11 million transactions per second on Google Cloud Spanner during a public stress test. The number is striking, but the architecture underneath matters more: this is what settlement infrastructure looks like when autonomous trading agents replace human traders and sub-millisecond consistency becomes a hard requirement.\n\nKeeta is a layer-1 blockchain designed to unify cross-chain transactions and payment systems. It runs on Spanner, Google's globally distributed database, and uses TrueTime to guarantee external consistency across geographically distributed writes. The stress test proves the stack can handle agent-driven financial workloads where settlement happens faster than humans can observe it.\n\nTraditional financial systems batch settlements overnight or hourly. Human traders tolerate latency measured in seconds. Autonomous agents operate differently:\n\nSpanner's TrueTime API solves the ordering problem by providing a global timestamp with bounded uncertainty (typically under 7ms). Every transaction gets a commit timestamp that reflects true causality. If transaction A finishes before transaction B starts anywhere in the world, Spanner guarantees A's timestamp is lower than B's.\n\nThis matters for agents because they can trust the transaction log as a source of truth without building their own coordination layer.\n\nKeeta's architecture separates consensus from storage. The blockchain layer handles validation and ordering, while Spanner provides durable, consistent storage with horizontal scalability.\n\n**Key components:**\n\nThe validator nodes write to Spanner using strongly consistent transactions. Spanner replicates data across multiple regions with synchronous writes to a quorum. Read replicas serve agent queries for historical data, market snapshots, and audit trails.\n\n**Transaction flow:**\n\nThe separation means Keeta can swap consensus algorithms without touching the storage layer. It also means agents can query Spanner directly for state without waiting for blockchain finality.\n\nAgents need different consistency guarantees depending on their execution model:\n\n| Agent Type | Consistency Requirement | Spanner Primitive | Latency Impact | \n|---|---|---|---|\n| Market maker | Linearizable reads for order book | Strong reads | 5-10ms cross-region | \n| Arbitrage bot | Snapshot isolation across exchanges | Stale reads with timestamp bound | <1ms local region | \n| Settlement agent | External consistency for multi-party txns | TrueTime commit timestamps | 7ms uncertainty window | \n| Audit agent | Historical consistency for compliance | Read-only transactions | No write path impact | \n\nMarket makers need to see the current order book state before placing orders. They use strong reads, which query the most recent committed data. The cost is cross-region latency (5-10ms) because Spanner must confirm the read timestamp with the leader replica.\n\nArbitrage bots can tolerate slightly stale data if they know the staleness bound. Spanner's bounded-staleness reads let agents specify a maximum age (e.g., \"give me data no older than 100ms\"). This serves from local replicas without cross-region round trips.\n\nSettlement agents coordinating multi-party transactions need external consistency: if agent A sees agent B's transaction committed, agent A's subsequent transaction must have a higher timestamp. TrueTime guarantees this globally without coordination messages between agents.\n\nTraditional observability breaks at this scale. You cannot log every transaction. You cannot trace every agent decision. The telemetry volume would exceed the transaction volume.\n\n**What survives:**\n\n**What you sacrifice:**\n\nKeeta uses Spanner's change streams to feed a separate analytics pipeline. The pipeline runs aggregations and anomaly detection, then writes summaries back to a different Spanner instance. This keeps observability traffic off the critical write path.\n\nAt 11M TPS, failure recovery cannot involve human operators. The system must detect and recover automatically within milliseconds.\n\n**Common failure modes:**\n\nThe critical primitive is Spanner's atomic schema changes. Keeta can deploy new smart contract logic or fix bugs by updating the schema without downtime. The schema change propagates atomically across all regions.\n\nFor agent rollback, Keeta uses compensating transactions rather than database rollback. If an agent's multi-step operation fails partway through, the agent submits offsetting transactions to undo the partial state change. This keeps the transaction log append-only and preserves the audit trail.\n\nAgents querying market state can trade consistency for latency using Spanner's bounded-staleness reads:\n\n``` python\nfrom google.cloud import spanner\n\nclient = spanner.Client()\ninstance = client.instance('keeta-production')\ndatabase = instance.database('settlement-ledger')\n\n# Agent queries order book with 100ms staleness bound\nwith database.snapshot(exact_staleness=0.1) as snapshot:\n    results = snapshot.execute_sql(\n        \"\"\"\n        SELECT account_id, asset_type, balance, last_update_time\n        FROM account_balances\n        WHERE asset_type = 'USDC'\n          AND balance > 1000000\n        ORDER BY last_update_time DESC\n        LIMIT 100\n        \"\"\"\n    )\n\n    for row in results:\n        # Agent logic: evaluate arbitrage opportunity\n        # Knows data is <100ms stale, can factor staleness into risk model\n        if is_arbitrage_profitable(row, staleness_ms=100):\n            submit_transaction(row['account_id'], row['asset_type'])\n```\n\nThe `exact_staleness` parameter tells Spanner to serve from the nearest replica without checking the leader. The agent gets sub-millisecond query latency and can reason about the staleness bound in its decision logic.\n\nFor strongly consistent reads (market makers placing orders), replace `snapshot(exact_staleness=0.1)` with `snapshot()` (no arguments). Spanner will query the leader replica and return the most recent committed state.\n\nWhen agents settle transactions autonomously, security boundaries shift from user authentication to agent authorization:\n\nKeeta implements KYC and AML at the agent registration layer. When an institution deploys a trading agent, the agent inherits the institution's compliance status. The blockchain validates compliance metadata on every transaction.\n\nSpanner's row-level security policies enforce read isolation between agents. An agent can only query its own account balances and public market data. Cross-agent queries require explicit permission grants stored in Spanner's IAM tables.\n\nKeeta runs validator nodes in three regions (US, EU, Asia) with Spanner replicas in five regions. The deployment shape prioritizes write availability over read latency:\n\nThis topology means an agent in Singapore queries a local Spanner replica (sub-millisecond latency) but writes go to the nearest validator node, which commits to Spanner's leader replica (10-20ms cross-region latency).\n\nFor latency-sensitive agents (market makers), Keeta offers co-location: deploy the agent in the same region as a validator node and Spanner leader replica. This reduces write latency to 5-7ms (dominated by TrueTime uncertainty, not network hops).\n\n**Use Spanner for agent settlement when:**\n\n**Avoid Spanner when:**\n\nThe Keeta architecture demonstrates that agent-driven financial systems need different database primitives than human-driven systems. TrueTime's global ordering, bounded-staleness reads, and atomic schema changes are purpose-built for autonomous agents making microsecond decisions across continents. The 11M TPS number is impressive, but the consistency guarantees are what make agent settlement possible.", "url": "https://wpnews.pro/news/11-million-tps-on-spanner-what-keeta-s-blockchain-settlement-layer-reveals-about", "canonical_source": "https://dev.to/mech_app_ai/11-million-tps-on-spanner-what-keetas-blockchain-settlement-layer-reveals-about-agent-driven-cco", "published_at": "2026-11-28 00:08:15+00:00", "updated_at": "2026-11-28 00:13:51.751553+00:00", "lang": "en", "topics": ["ai-agents", "ai-infrastructure", "artificial-intelligence"], "entities": ["Keeta Network", "Google Cloud Spanner", "Google", "TrueTime"], "also_reported_by": [], "takeaway": "Keeta sustained 11 million TPS on Spanner by matching agent consistency needs to read types: strong reads cost 5-10ms cross-region for market makers, bounded-staleness reads stay under 1ms locally for arbitrage bots, and TrueTime commit timestamps carry a roughly 7ms uncertainty window for settlemen", "recommendation": {"advice": "Match each agent's consistency requirement to the cheapest read primitive — bounded-staleness reads for arbitrage, strong reads for order books, TrueTime commits for multi-party settlement — and offload telemetry to change streams.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/11-million-tps-on-spanner-what-keeta-s-blockchain-settlement-layer-reveals-about", "markdown": "https://wpnews.pro/news/11-million-tps-on-spanner-what-keeta-s-blockchain-settlement-layer-reveals-about.md", "text": "https://wpnews.pro/news/11-million-tps-on-spanner-what-keeta-s-blockchain-settlement-layer-reveals-about.txt", "jsonld": "https://wpnews.pro/news/11-million-tps-on-spanner-what-keeta-s-blockchain-settlement-layer-reveals-about.jsonld"}}