Programmable Messaging API · View 08 of 22 · Structure
Decisions
- The session plane is a separate, stateful, pinned tier: SMPP binds hold sequence windows and allowlisted source addresses, which do not survive an elastic stateless fleet.
- Carrier credentials never enter the attempt fleet; executors exchange workload identity for a short-lived, single-route token at the custody boundary.
- The state projection is a distinct store from the ledger, so status reads scale separately from the write path that owns the truth.
Assumptions
- Cloud Spanner for the ledger, consent and registry; Bigtable for the projection; Pub/Sub for lanes and ingest; Cloud Tasks for per-route pacing; Memorystore for leases.
- Roughly 6,000 concurrent carrier protocol sessions across 220 routes.
Risks
- The ledger write path is the platform's hottest and most expensive component; if it is not priced explicitly it will be discovered in the bill.
- The quarantine store is the one place a platform bug surfaces as data rather than as an error — it needs an owner, not just a bucket.