Skip to content
Portal

Monitoring and capacity

Tool What it gives
Prometheus Each gateway’s metrics: rate and time of the authorizations per step, quota refusals per bank, database connections, Redis calls, replica delay, backlogs
Grafana The dashboard “UBO · Capacité”: rate, percentiles, time per step, connection pool, backlogs, quotas, cache, replica
Jaeger Each operation’s trace, step by step, across the components
Loki The logs of all the containers, searchable
Portal Architecture (real state of the components), Flows (an operation end to end), Scheduled jobs, Events, Audit trail
End-to-end flows in the portal
An operation followed end to end, from the portal.

The periodic work (expiries, dispute deadlines, events, files, accounting close, reporting totals, secret rotation, partitions, purges) are scheduler jobs, with their history, retries and alerts.

Scheduled jobs

Measured on the development platform (one machine, Docker limited to 8 GB), through the network route (ISO 8583 messages over TCP, cryptograms verified):

Measure Value
Time in UBO (median, at 40 operations per second) ~50 ms
Sustained rate ~80 to 110 authorizations per second, all routes together
Lists served by the database (millions of rows) a few tens of milliseconds per page
Replica delay under load a few milliseconds

What was done to reach them:

  • Critical path of an authorization cut down to one limit reservation call and one recording transaction; network journal written later, in batches.
  • Shared limits by slices: each gateway consumes in memory a slice of a very busy limit, never exceeding the maximum.
  • Redis cache of the cards’ recent activity, kept right by the database’s signals.
  • Lists served by the database, paginated by cursor, counts bounded in time.
  • Daily totals for the reporting; replica for consultation; partitioned journals.
  • Quotas per bank, so that one bank does not slow another down.