This note compares a conventional relational-database-centered deployment with a three-node StateVec cluster for a 10k TPS business engine.
It is an EC2 and Aurora instance cost model, not a full production bill. It does not include Aurora storage, Aurora I/O charges, backups, snapshots, cross-AZ traffic, data transfer, load balancers, monitoring, NAT, support plans, reserved instances, savings plans, or managed-service markups.
Assumptions
Region and billing:
- AWS region:
us-east-1. - Pricing model: Linux On-Demand EC2 and Aurora/RDS On-Demand instances.
- Price snapshot: May 2026. Costs and savings are calculated from hourly rates before rounding to cents.
- Month length:
730hours. - Target write load:
10k TPS. - Query load assumption for the database-centered setup: the
2Aurora readers provide about20k QPSstate query capacity. - Query load assumption for the StateVec setup: read-side views target comparable state-query capacity for predefined views and lookup paths, using committed transactions from the cluster.
- Local SSD is modeled through instance-store EC2 families. There is no separate per-GB local SSD line item; the storage requirement changes the instance type.
Sizing notes:
- The requested Aurora setup is
32C / 64G, with1writer and2readers. - A common Aurora/RDS general-purpose class that preserves the
32 vCPUtarget isdb.m7g.8xlarge, but it has128 GiBmemory rather than64 GiB. - The requested StateVec node setup is
2C / 8Gwith200 GBinstance SSD. The closest local-NVMe EC2 setup used here isc6id.xlarge, which provides4 vCPU / 8 GiB / 237 GB local NVMe. - The StateVec instance total covers the three voting nodes of the transaction core. Dedicated learners, projection services and query stores are added separately when required.
Instance mapping:
| Logical need | AWS instance | vCPU | Memory | Local NVMe | Hourly | Monthly |
|---|---|---|---|---|---|---|
| Aurora DB node, 32C target | db.m7g.8xlarge | 32 | 128 GiB | EBS only | $2.69600 | $1,968.08 |
| Microservice node, 4C / 16G | m7i.xlarge | 4 | 16 GiB | EBS only | $0.20160 | $147.17 |
| StateVec node, 2C / 8G + 200 GB local SSD target | c6id.xlarge | 4 | 8 GiB | 237 GB | $0.20160 | $147.17 |
Price references:
db.m7g.8xlarge: 32 vCPU / 128 GiB, about$2.696/hr.m7i.xlarge: 4 vCPU / 16 GiB, about$0.2016/hr.c6id.xlarge: 4 vCPU / 8 GiB / 237 GB local NVMe, about$0.2016/hr.
Option A: Aurora-Centered Service Stack
Target setup:
- Aurora:
1writer and2readers. - Each Aurora node target:
32C / 64G, modeled asdb.m7g.8xlarge. - Reader capacity target: about
20k QPSstate queries from the2readers. - Application layer:
4microservice nodes. - Each microservice node:
4C / 16G, modeled asm7i.xlarge.
This setup represents a conventional architecture where the relational database is the main transactional coordination point. The writer handles the mutation path, while readers serve state queries. Application services perform validation, orchestration, cache updates, and event publication around the database.
Node count:
| Component | Count | Modeled size | Instance |
|---|---|---|---|
| Aurora DB nodes | 3 | 32C / 128G | db.m7g.8xlarge |
| Microservice nodes | 4 | 4C / 16G | m7i.xlarge |
Monthly instance cost:
| Component | Count | Monthly / node | Monthly total |
|---|---|---|---|
| Aurora DB nodes | 3 | $1,968.08 | $5,904.24 |
| Microservice nodes | 4 | $147.17 | $588.67 |
| Total | 7 | $6,492.91 / month |
Annualized:
(3 * $2.696 + 4 * $0.2016) * 730 * 12 = $77,914.94 / yearOption B: StateVec Cluster
The StateVec cluster runs deterministic business plugins over application-defined records. Each command updates related records as one ACID transaction. Raft provides leader election, ordered replication and quorum commitment across the cluster.
All voting nodes run the same business plugin. Full Consistency (Verify mode) adds follower verification of execution results before commit; Extreme Performance (Performance mode) executes business logic after commit. Both modes recover from a selected checkpoint and the committed Raft WAL. See execution modes for the complete flow.
Target setup:
- StateVec cluster:
3voting nodes, with1leader and2followers. - Each StateVec node target:
2C / 8G. - Each StateVec node local SSD target:
200 GB, modeled asc6id.xlarge. - Each node keeps its local Raft WAL and recovery checkpoints.
- Read-side services build query views, notifications and integrations from committed transactions, outside the voting quorum.
The per-node target is 2C / 8G; c6id.xlarge is used here because local instance SSD capacity is tied to the EC2 instance type. It provides 237 GB local NVMe, which satisfies the 200 GB local SSD assumption. The query workload consists of predefined state views and lookup paths. Optional non-voting learners can feed read-side extensions; this integration is in development.
Node count:
| Component | Count | Modeled size | Instance |
|---|---|---|---|
| StateVec cluster voting nodes | 3 | 2C / 8G + 200 GB SSD target | c6id.xlarge |
Monthly instance cost:
| Component | Count | Monthly / node | Monthly total |
|---|---|---|---|
| StateVec cluster voting nodes | 3 | $147.17 | $441.50 |
| Total | 3 | $441.50 / month |
Annualized:
3 * $0.2016 * 730 * 12 = $5,298.05 / yearCapacity and Cost Comparison
| Architecture | Write target | Query path | Nodes | Monthly instance cost | Annual instance cost |
|---|---|---|---|---|---|
| Aurora writer/readers + microservices | 10k TPS | 20k QPS | 7 | $6,492.91 | $77,914.94 |
| StateVec cluster | 10k TPS | Predefined views / projections | 3 | $441.50 | $5,298.05 |
Difference:
Monthly savings = $6,051.41
Annual savings = $72,616.90
Cost ratio = 14.71xUnder these assumptions, the modeled Aurora service stack costs about 14.7x as much as the three-node StateVec cluster. Dedicated read-side infrastructure is added to the StateVec total when required.
Why the Shape Changes
The conventional architecture places the durable mutation path and query-serving responsibility behind a large relational database cluster:
That is a familiar and productive architecture, but at 10k TPS writes plus 20k QPS state queries, the database tier becomes the expensive part of the system. The application layer is not the main cost driver; the database writer/readers are.
The StateVec cluster brings business execution, replicated history and recovery into the same three-node transaction core:
The business plugin defines models and rules; the StateVec cluster supplies transaction execution, consistency and recovery. Read-side extensions consume committed history and may lag behind the core. Any change they propose returns through a business command, so the transaction core remains the authority for business state.
Reading This Correctly
This document does not say a StateVec cluster always costs $441.50/month, or that an Aurora-based system always costs $6,492.91/month.
It says that for the specific 10k TPS setups above:
- The Aurora-centered stack pays for
3large DB nodes plus application services. - The Aurora readers are included because they are expected to serve about
20k QPSstate queries. - StateVec read-side views target the same practical query role; dedicated learners, projection services and query stores are sized separately.
- The StateVec instance total pays for the three voting nodes that execute plugins, replicate commands and retain local recovery data.
- The model excludes Aurora storage and I/O charges, which can be material for write-heavy workloads.
- Exact procurement numbers should be checked with the AWS calculator before purchase.
Use this as a starting point for a workload-specific AWS estimate, not as a universal price quote.