rinha4.c

Challenge

Rinha de Backend 2026 scores implementations by latency, correctness, and request survival under the official k6 workload.

Required endpoints:

MethodPathRole
GET/readyreadiness probe
POST/fraud-scorefraud decision

Default topology:

  • entrypoint/load balancer on 9999
  • two API instances
  • total container budget: 1.00 CPU / 350 MB
  • no privileged container
  • runnable through Docker Compose

Ranking pressure:

  • lower p99 improves p99 score
  • 0% failures preserves detection score
  • HTTP errors destroy score quickly

This repository currently keeps transport errors and classification errors at 0 in clean CI candidate runs. Remaining ranking work is p99 reduction without giving back correctness.