Plans and pricing
Plans and prices are not yet published. Contact us about using Bijection in production.Limits
See Limits for installation limits and Budgets for app-defined allowances on metered sends.Analytics
Bijection serves your app’s transactional reads and writes. For periodic analysis, runbijection export. To compute derived
tables inside Bijection, use pipelines.
Usage report retention
Hosted installations can retain available sealed usage report details for up to 93 days in encrypted installation storage. Billing records have separate retention. Enable retention when creating an installation with--usage-retention-days 93, or manage it in installation settings or with the CLI.
next_after as --after to continue. The response
contains the reports and their recorded quantities, including installation-level
storage observations where collected.
Disabling retention revokes reads immediately and schedules removal of stored
copies and their keys. The retention status reports pending erasure.
Budgets
A budget caps what a function, a subtree or a mounted app may reserve per window in one measure. A receiver’smeter
prices each operation. A budget is a flow: a ctx.submit to a metered
operation by a function the budget covers debits it at admission, in the
submitting transaction, within the current window.
In a multi-tenant app, give each tenant its own account with for::
measurenames what the meter counts,quotathe most units admitted in one window per account, andeverythe window, a fixed-length duration (days or smaller). Withouteverythe quota is for the budget’s whole life.- A submit that does not fit refuses
Limit, and its message begins withBudgetExhaustedand names the budget. Nothing is sent and no task exists. - A result in the same window settles the debit to the actual cost the answer
states, or to nothing if the send was never performed. An
Unknownoutcome keeps its debit until the window ends. No debit outlives its window, and unspent units wait for the window to end. - A budget is the point of its own account:
ctx.get(app.budgets.tokens)answers{ unit, quota, remaining, resetsAt }for the frame’s own account, whereresetsAtis theTemporal.Instantthe current window ends (null withoutevery). For ashared: truebudget,remainingis null. - One send pays exactly one budget:
bijection checkrefuses two budgets in one measure over one function (BudgetOverlap).bijection.lockprints each budget’s terms (for,shared) and the functions it covers, and each mutation’sreserves.
Accounts and labels
Each budget is spent from one of three kinds of account:- Per member (
for: family): each member of that family has its own account with the whole quota, and a frame at a member spends from it. A frame whose label names no member of the family, or more than one, has no account: its metered sends refuseBudgetNoMember. - At public (neither
for:norshared:): one account at public holds the quota for the whole app. - Shared (
shared: true): one host-only counter for the whole installation, which no guest reads. The store judges each spend when the transaction commits, so concurrent spenders never conflict. Each spend, admitted or refused, discloses one bit (fit or full) to the spender and records onesys.disclosuresfact at the commit label.ctx.trycannot catch its refusal, and a trial reports it as “judged at commit”. It cannot be combined withfor:(CapacitySpansLabels).
- Reservations for scheduled work. Work recorded at one label that runs
at another (
ctx.submit(work, args, { under }), a run under a release, or that run’sthen) is charged when it is recorded. The recording mutation declares the units it reserves per budget:mutation({ reserves: [{ budget: app.budgets.tokens, units: 200 }] }, …). The submitting commit takes those units from its own account in its own window and hands them to that one task. The task’s run can spend them until the task’s deadline. If the submitting label cannot cover the reservation, the submit refusesLimit. - Explicit upward grants, authored at the granting label.
bijection check warns
when a spender of a budget runs under a label above its account
(BudgetAboveAccount). Declare for: a label family, shared: true, or a
reserves: on the recording work.
- Delivering work is never a grant site. Sends at one label conflict only
with each other, and a send’s refusal names only what that label has left
(
BudgetExhausted: tokens has 120 tokens left at this label). - A quota bounds the units admitted per window: a reservation counts in the
window that recorded it, whenever its run spends it. Idle units at one
account never serve another unless the budget is
shared: true.
total.