Go banking API under contest constraints
Less is More.Except Error Handling.
A compact Go implementation of Rinha de Backend 2024/Q1, tuned for concurrent banking transactions with chi, pgx, PostgreSQL stored procedures, and NGINX load balancing.
- Go 1.25
- chi/v5
- pgx/v5
- PostgreSQL
- NGINX
Performance envelope
The constraint is the architecture.
The implementation is intentionally small: two Go API instances, one NGINX balancer, and one PostgreSQL database sharing the challenge’s total CPU and memory budget.
- 47k+target valid requests
- 1.5max CPU cores total
- 550max memory in MB
- NGINXleast_conn load balancer on :9999
- API x2two Go/chi instances behind the proxy
- PostgreSQLstored procedures keep balance updates atomic
- k6archived CI stress-test reports
Benchmark evidence
Stress-test results stay attached to reports.
The headline numbers are treated as evidence, not ornament. Use the archived reports and CI workflow to inspect each run instead of trusting a static badge.
- 47k+target valid requestschallenge scoring target
- <50msP95 latencylatest published target
- 99.9%success rateexpected valid-run floor
Report archive
Recent proof artifacts
- Latest archived run2026-04-0119:13 · k6 stress report
- Previous run2026-04-0118:56 · k6 stress report
- Recent baseline2026-04-0116:34 · k6 stress report
34 stress test runs archived · View all reports