Architecture lab

PaymentsTarget the peak · p99 ≤ 90 ms
0% busy
Shoppers
1x inst0 RPS
0% busy
Payment API
2x inst0 RPS
0% busy
Payment processor
1x inst0 RPS
0% busy
Ledger
2x inst0 RPS

Design summary

Components

  • Shoppers: 1 × Users
  • Payment API: 2 × App server, 0 requests a second, 0% busy
  • Payment processor: 1 × Outside service, 0 requests a second, 0% busy
  • Ledger: 2 × Relational database, 0 requests a second, 0% busy

Connections

  • Shoppers sends requests to Payment API
  • Payment API sends requests to Payment processor
  • Payment API sends requests to Ledger

0 of 0 requests a second served, average 34 ms, p99 71 ms, 420 USD a month.