opencloudportDocs

Limits

Every limit in one place, so you can plan for them.

These are opencloudport's own limits, read from the code that enforces them. Each comes back as a clear error with a message saying which limit you hit. If one gets in your way, tell us what you're building.

Running a platform?

The limits marked (raisable) can be raised for your workspace on request, for example when you run an app per customer: apps, sandboxes, sandboxes per app, services per app (up to 100), domains per app, webhooks, and the request rate per key. See Building a platform.

Requests

WhatLimit
Requests per API key20 a second on average, bursts of up to 60 (raisable)
Emails sent per API key2 a second on average, bursts of up to 20
Sandboxes started per API key1 every 5 seconds, bursts of up to 5
Idempotency-Key1 to 255 visible characters, remembered for 24 hours
Request body16 KB, unless listed below

Over a rate limit you get 429 rate_limited with Retry-After in seconds. See Rate limits.

Workspaces and apps

WhatLimit
Apps per workspace1,000 (raisable)
App name100 characters
external_id200 printable characters, no spaces
metadata50 values; names up to 40 characters, values up to 500
Databases, buckets and email senders per app20 in all (raisable, up to 100)
Compute and sandboxesone of each per app
Variables and secrets per app100, each value up to 5 KB
Domains per app20 (raisable)

Webhooks

WhatLimit
Webhooks per workspace10 (raisable)
Time to answer a delivery10 seconds
Retries of a failed delivery6, over about a day and a half
Failing before a webhook is turned off3 days in a row
Events and deliveries kept30 days

Code

WhatLimit
Code files (modules) per deployment100
Code per deployment10 MB
Static files per deployment20,000
One static file25 MB
All static files in one upload50 MB

Logs

WhatLimit
How long lines are kept7 days
Lines kept per app2,000 an hour
Printed lines kept per run100
One message or stack8,000 characters
Lines per page from the API500
Waiting for new lines (wait)20 seconds

Databases

WhatLimit
SQL per request100 KB
Values for ? placeholders100
Rows returned per statement1,000 (the rest are left out, and truncated is true)
A SQL file to load (import)10 MB
A copy's download link15 minutes

File storage

WhatLimit
A file's path1,024 bytes
Files listed per page1,000
Signed links1 minute to 7 days (15 minutes unless you say)
Direct bucket credentials15 minutes to 12 hours (1 hour unless you say)

Email

WhatLimit
Subject500 characters
Text version200,000 characters
HTML version500,000 characters
Sent emails kept in the dashboard30 days
Sender domains1 per email service

Scheduled runs

WhatLimit
Schedules per app5
How oftenat most once a minute, in UTC

Sandboxes

WhatLimit
Sandboxes per app50 (raisable)
Sandboxes per workspace200 (raisable)
Falls asleep after being idle1 minute to 24 hours (15 minutes unless you say)
A commandup to 10 minutes (2 minutes unless you say)
Files written at once500, up to 25 MB in all
A variable's value4 KB

Money

WhatLimit
Adding funds$5 to $10,000 at a time
Spending limits (keys, apps, end users)up to $1,000,000, to the cent
Usage you can ask for at once92 days

On this page