Skip to main content

Usage and limits

The Usage page shows the Project's use in the current period against the Plan's limits, with a daily chart for each item.

The Usage page

Usage period​

The usage period is the calendar month in UTC; its start and end are shown at the top. Egress and MAU start from zero every month. Database and Storage are current levels and do not reset with the month.

What is counted​

ItemWhat is counted
DatabaseThe current Database size (Tables, indexes, and the Auth and Storage data), measured every few minutes.
StorageThe total size of the files in all Buckets.
EgressThe size of the responses the Project sent this month (REST, Auth and file downloads).
MAUThe number of distinct Users who signed in or refreshed their token this month.
Requests («درخواست‌ها»)The number of requests to the Endpoint (no limit; for information).
SMS OTP («پیامک OTP»)The number of SMS codes sent.

The same figures appear in short on the Project's card in the Project list and on the Overview. From the terminal: arianet baas usage <project-id>.

Warnings​

For Database, Storage, Egress and MAU you get a notice when usage reaches 80 % and then 100 % of the Plan's limit. Each warning is sent once per item per month. If usage passes both thresholds between two checks, you only get the 100 % warning.

Reaching a limit​

Free Plan limits are hard; at 100 %:

ItemEffectUntil
EgressEvery request to the Project is refused with 402 egress_limit_reached.the month ends or the Plan changes
MAUNew sign-ups (and anonymous sign-in, or a one-time code for an unknown address) are refused with 422 signup_disabled. Existing Users keep signing in.the month ends or the Plan changes
StorageUploads and copies are refused with 413 (QuotaExceeded) and nothing is stored. Reading and deleting files works.files are deleted or the Plan changes
DatabaseThe Database becomes read-only: reads work, writes are refused. If it still grows, the Project is paused and suspended with the reason "Database space full". Once the size is back under the limit, it is writable again.the size goes down or the Plan changes

These states take effect within a minute or two of crossing a limit and are lifted just as fast when the month starts or the Plan changes.

On paid Plans (coming soon), going over the Egress, MAU and Storage limits does not stop the service; the extra use is billed separately. The Database limit applies on every Plan as above.

Other Free Plan limits​

ItemValue
Requests per second per Project50 (beyond that 429 rate_limit_exceeded with a Retry-After header)
Concurrent Database connections20
Longest SQL statement through the API8 seconds
Size of one file50 MB
Rows per REST responseat most 1000
Automatic pauseafter 7 days without a request (details)