Skip to content
CAQAComputeShare

In design. Sample ledger, synthetic data.

See demo

Scope, in design

The fields behind one charge

An annotated record. These are proposed fields, not a built schema.

event_idEVT-0007
The identity used to recognise a repeat. The design assumes your source gives each job event a stable one. If it cannot, that is a question to settle first.
projectVision lab
Which project's quota the charge belongs to.
resourceGPU class A
The kind of GPU, which decides which rate applies.
usage3.5 GPU-hours
Measured usage as received. It is not edited in place.
rate_versionR2, 2.40 units
The rate in force, kept with the charge so a later rate change does not rewrite history.
deliveries2 received
Every arrival is logged, including the ones that add nothing.
charge8.40 units
Usage times rate. One per event identity.

The rule

Retried ingestion of an existing job event does not duplicate usage.

What should happen to each kind of arrival
ArrivalDesigned outcomeQuota effect
New event identityCharged once, shown with its rateAdds once
Same identity, same contentLogged as a repeat deliveryNone
Same identity, different contentHeld for reconciliation, original untouchedNone until a person decides
No identityNot charged; returned to the specialistNone

How long a repeat should still be recognised, for example after a backfill months later, is a design decision to agree. A short window would let an old retry count again.

Who does what

Data or integration specialist

  • Brings in job events and fixes rejected ones
  • Reconciles held conflicts and records why
  • Cannot change a project's quota

System owner

  • Sets quotas and unit rate versions
  • Reviews the reconciliation before spend is reported
  • Approves or returns it with a reason

The separation shown is a proposal to confirm with your organisation.

What you would supply, and what is not built

You supply

  • A sample job export with synthetic or de-identified values
  • How your source identifies a job, including array jobs, requeues and restarts
  • Your project list, quota periods and rate rules

Not built

  • Everything in the application: imports, matching, reconciliation, reports and history
  • No connection to any scheduler or cloud billing service is offered or claimed
  • Invoicing and payments are outside this design