Performance Benchmark
Read+Write
TPS
190 K
Latency
26 ms p(99)
Cost
$63.77
per month / per 1K TPS
Read Only
TPS
0 K
Latency
0 ms p(99)
Write Only
TPS
190 K
Latency
26 ms p(99)
Configuration
Read / Write Allocation: 0% / 100%
Data Unit Size: 500 bytes
Testbed: 4 Gatling instances, 16 cores, 15 minutes progressive throughput, 20 minutes of max throughput
App: Akka 2023.10, 40K entities, event sourced log, source code
Infrastructure: Google Cloud Platform (GCP)
1 GKE cluster with 36 n2-std-8 nodes ($6,626.85 / mo with 1-yr full upfront)
16 PostgresSQL with 8 vCPUs 32GB memory, 250 GB SSD ($343.12 / mo with 1-yr full upfront)
Total Monthly Cost: $12,116.69
Definitions
TPS: # of transactional data units processed (read & write) / second
Latency: round trip HTTP request-response time measured during peak TPS
Cost: Total reserved instance costs for a 31 day month ratioed against 1K TPS
This was a sample test to demonstrate that 190,000 req/s of load with 0% reads and 100% writes was possible on GCP with Akka whose events are persisted to a Postgres database. This application simulates a digital twin solution, where a single Akka actor represented an IOT device that had to persist 500 bytes of information on each update.