Limits
Every limit Arcadible applies, in one place. Each gives the value, what happens when you reach it, and what to do. The CLI checks most of them before anything is uploaded, so you hear about them from arc validate or arc deploy rather than from a failed release.
Your plan
Every account is on a plan, Free, from the moment it's made, with nothing to set up. A plan sets what grows with your games; every other limit on this page is the same for every game.
| The plan sets | Free | For | Counted | More |
|---|---|---|---|---|
| Functions' requests | 1 million | Your account, every game's function together | By the calendar month, in UTC | A function |
| Calls to values, from games | 3 million | Your account, every game and player together | By the calendar month, in UTC | Values |
| One game's function, a day | 200,000 requests | A game, both channels together | By the day, in UTC | A function |
| One game's calls, a day | 500,000 | A game, both channels and every player | By the day, in UTC | Values |
| What a game's values hold | 10,000 keys and 64 MB, each scope | A game and a channel | As they stand | Values |
| What a player's values hold | 256 keys and 1 MB | A player, in a game and a channel | As they stand | Values |
- The month is your account's. Requests and calls are counted for all of your games together, so one game can use the whole month, or twenty can share it. It starts again on the first of each month, UTC.
- The day is each game's own, so a game with a bug or a flood stops that day, with most of the month left for your other games. A game well within its day is held only by the month.
- At a limit, things stop, and start again by themselves. A function is paused and values stop taking writes, while reads go on, until the month or the day turns. The sections below say what your game sees.
- You hear before it happens: an email at 80% of a month, and one when a month or a game's day is spent. Each can be turned off in Studio's Settings ▸ Notifications.
- See where you stand in Studio's Settings ▸ Limits: your plan, what your games have used this month, by game (what a game used before you deleted it still counts), and when the month starts again. A game's Function and Values tabs show its own day and month beside your account's.
- Need more? Tell us what your game needs at support@arcadible.com, and we'll raise a limit for your account.
Your game's files
What arc pack zips: deploy_dir, with the store art in .arcadible/ and the manifest beside it. The 64 MB zip size counts deploy_dir alone; the other limits count everything packed.
| Limit | Value | When you reach it | What to do |
|---|---|---|---|
| Zip size | 64 MB | Package is larger than 64 MB. | Compress assets, or stream what isn't needed to start |
| Size, uncompressed | 256 MB | Package is larger than 256 MB uncompressed. | The same |
| One file | 64 MB | '<file>' is larger than 64 MB. | Split the file, or compress it |
| Number of files | 10,000 | Package has more than 10,000 files. | Bundle small files together |
| Files and folders, together | 20,000 | Package has more than 20,000 files and folders together. | Put the files in fewer folders |
| A file's name | No . or .. folder, backslash, or %2e, %2f, %5c | '<file>' isn't a name a browser can ask for: … | Rename it, and the paths that load it |
index.html | Required | Package is missing 'index.html'. | Point deploy_dir at the folder your build writes index.html to |
arcadible/ | Reserved | 'arcadible/' is reserved for Arcadible. | Rename the folder, and the paths that load from it |
arcadible.json, .arcadible/ | Reserved, at the root | The same, naming it | Leave them out: packing adds its own |
Arcadible checks the uncompressed size, the number of files and folders, each file's size and name, and the reserved folder again when it publishes a release, and that the zip's files are in one folder, as arc pack packs them. A zip over 272 MB fails as zip_too_large, and one breaking another rule with the code arc pack gives it: a file's name as package_path_invalid, the reserved folder as package_path_reserved, and the limits as package_uncompressed_too_large, package_too_many_files, and package_file_too_large. A manifest over 64 KB fails as manifest_invalid: the store text is most of it.
What your game reaches
The hosts your game may connect to besides its own build, in client.outbound_hosts. See Networking.
| Limit | Value | When you reach it | What to do |
|---|---|---|---|
| Hosts | 8 | Must have at most 8 items. | List only the hosts your game connects to |
| Servers | 4, in client.server_origins, each name its host alone, without https:// | Must have at most 4 items. | List only the servers your game gets tickets for |
| A host | A name, lowercase, up to 253 characters, reached on port 443, in any of the lists, a function's too | Must be a host's name, such as api.example.com: … | Leave out the scheme, the port, the path, and any wildcard |
| Not allowed | An address, a private network's name, or Arcadible's own | Must not be a private network's: …, Must not be Arcadible's, which is reached already. | Leave it out: arc serve reaches your machine, and the SDK reaches Arcadible |
| All of them | 1,024 characters together: the names in client.outbound_hosts and client.server_origins (a server's without its https://), counting a space between each; a function's own outbound_hosts have no total | Must be at most 1,024 characters together. | Use fewer or shorter names |
Arcadible checks them again when it publishes a release, which fails as manifest_invalid, saying which.
Store page text
| Field | Length or count | Characters |
|---|---|---|
title | 1–30 | Letters, digits, spaces, and . , ! ? ' " ( ) : ; - |
short_title | 1–15 | The same |
tagline | 1–30 | The same |
bio | 1–180 | The same |
description | 1–3,000, as HTML | Arcadible Markdown |
genres | 1–3 | From the list of genres |
arc validate reports each field over its limit (too_long), or with a character outside its set (characters_invalid), with a link to its rules: shorten it, or take the character out. The description counts its HTML, tags and link URLs included, so it's shorter as text; arc inspect game.description shows the HTML that's counted.
Store art
| Art | Aspect ratio | Size, in pixels |
|---|---|---|
icon | 1:1 | 512 × 512 to 2048 × 2048 |
cover | 3:2 | 768 × 512 to 3072 × 2048 |
banner | 2:1 | 1024 × 512 to 4096 × 2048 |
poster | 2:3 | 512 × 768 to 2048 × 3072 |
splash | 16:9 | 1024 × 576 to 4096 × 2304 |
| Gallery | Any | 512 to 2048 on each side |
- Images are PNGs of up to 2 MB.
- Videos (each art's, named
<art>_video.mp4beside its PNG, such asicon_video.mp4, and the gallery's) are MP4s of up to 15 MB, running 3 to 30 seconds. An art video has its art's aspect ratio and sizes. - Gallery: up to 24 files, screenshots and description media together, with no two sharing a name once the extension is removed.
arc validate reports a file that breaks a rule as media_invalid, listing each rule it breaks: export it again to fit.
Releases
| Limit | Value | When you reach it | What to do |
|---|---|---|---|
| Versions | Each publishes once | Version 1.2.0 is already published., or version_exists | Bump version |
| Builds per account | 30 an hour, and 100 in any 24 hours | The release fails as build_rate_limited | Deploy again later |
| New games per account | 20 in any 30 days, deleted games too | Releasing a new game fails as game_create_rate_limited, saying when you can release the next | Deploy the new game again after then; new versions of your games still release |
| A failed version, deployed again | Once every 5 minutes, from its last upload | arc deploy fails as deploy_rate_limited | Wait, then deploy again |
| Deploys per account | 30 an hour, git releases aside | arc deploy fails as deploy_rate_limited | Wait, then deploy again |
| Time to publish | 1 hour | The release fails as release_timed_out, or as build_not_published once its build was made | Deploy again, bumping version for build_not_published |
arc deploy's wait | 5 minutes, or 15 for git | arc deploy fails as wait_timed_out; the release may still finish | Check Studio or the release's GitHub check, or pass a longer --timeout |
A published build reaches all of Arcadible within 10 minutes.
Saves
What a game can keep through the Arcadible SDK, for each player, on each device, in each channel. The play page holds each limit, and a game standing alone holds the same ones.
| Limit | Value | When you reach it | What to do |
|---|---|---|---|
| Saves per game | 32 | The write fails as full | Remove a save, or combine saves |
| Size | 1 MB, every save together, in UTF-8 bytes | The write fails as full, or too_large for one save past it alone | Remove a save, or save less |
| A save's name | 1 to 64 letters, digits, -, _, or . | The call fails as invalid | Rename it |
| A save | A well-formed string | The write fails as invalid | Serialize it, such as with JSON.stringify |
| Calls waiting | 64 at once | The call fails as busy | Wait for some to finish |
| A list's page | 100 saves | A larger limit gives 100 | Go on from next |
| An answer | 10 seconds | The call fails as unavailable | Try again |
The codes are the Arcadible SDK's.
Players
What a game can ask about players through the Arcadible SDK.
| Limit | Value | When you reach it | What to do |
|---|---|---|---|
| Pictures in a call | 50 players | The call fails as too_many | Ask for fewer at once |
| A picture | 256 × 256 | It's the only size today | Draw it smaller, or as is |
| A player's name | 200 characters | A name on Arcadible is up to 30 characters, so none is longer | Give a long name room |
| Pictures looked up | 60 calls a minute, for a player's address, and for their account | Other players' pictures are the stand-in; a call that finds none fails as unavailable | Ask for them all in one call |
| Guests' ids | 60 new guests an hour, from one address | A guest plays on, and your function and servers read them as no one (null) until their device is given an id | Nothing to do |
Links
What a link a player shares from your game carries, and how long it lasts (Invites).
| Limit | Value | When you reach it | What to do |
|---|---|---|---|
A link's data | 1 KB, as JSON | The share fails as too_large | Carry an id, and keep the rest in values |
A share's text | 200 characters | The share fails as too_large | Shorten it |
| A link | 30 days | It opens your game with no link | Share a new one |
| Links an hour | 60, for a player's account, and for their address | The share fails as limit_reached | Try again later |
Wires
What a wire carries between your game's players, and how many it holds, for a game's own calls and its function's (Live Play).
| Limit | Value | When you reach it | What to do |
|---|---|---|---|
| A message | 1 KB, as JSON | The send fails as too_large | Send what changed; keep the rest in values |
| A player's sends on a wire | 20 a second, 40 at once | The SDK paces a window's sends, holding them; two windows of one player together can fail as busy | Send the latest state, at a steady rate |
| A wire's messages, all players | 200 a second | Players' messages past it are dropped | Split players across wires |
| A function's sends | About 600 a minute, for a game on a channel | The send fails as busy | Send once for each change, to the whole wire |
| Members on a wire | 100 | The next to join fails as full | Open another wire |
| A member's connections | 8 windows or devices | The next fails as full | Close one |
| Wires a player is on at once | 4 in a game on a channel | The next fails as full | Leave one first |
| A player's joins | About 60 a minute, every wire of the game on a channel | The join fails as busy | Join once, and stay on |
| Wires a game opens | About 600 a minute, for a game on a channel | Opening one fails as busy | Open a wire for a match, not for a message |
| A connection with nothing heard | Closed within 4 minutes | The member leaves | Nothing: the SDK keeps a live one alive |
A wire's id never expires, and nothing sent on a wire is kept.
Values
What a game, its function, or a server of your own can keep in the game's values, for each game and channel: a game's, a function's, and a server's.
| Limit | Value | When you reach it | What to do |
|---|---|---|---|
| A key | 1 to 128 letters, digits, -, _, ., or / | The call fails as invalid | Rename it |
| A value | 64 KB, as JSON with a space after each : and , | The write fails as too_large | Split it across keys |
| Items in a call | 32 | The call fails as too_many | Make more than one call |
| A write's values together | 256 KB | The write fails as too_large | Write fewer at once |
| A read's values together | 1 MB | The read fails as too_large | Read fewer at once |
| Keys in a list | 100 a page, 50 unless you ask | A limit past it is invalid | Go on from next |
| The developer's, the game's, and the server's | 10,000 keys and 64 MB, each scope | The write fails as full | Remove values first |
| A player's | 256 keys and 1 MB, each player | The write fails as full | Remove values first |
| A game's calls a minute | 60 reads or lists, and 30 writes or removes, for a player's address, and for their account | The call fails as busy | Read less often; write at checkpoints |
| Your games' calls a month | 3 million, every game of your account and every player together, by the calendar month in UTC | A game's write or remove fails as limit_reached; reads go on | Write less often |
| A game's calls a day | 500,000, every player's together, both channels, by the day in UTC | That game's write or remove fails as limit_reached; reads go on | Write less often |
A game's calls are its players' own, from the Arcadible SDK, and your own writes and removes of its values, with arc value or Studio's Values tab; a function's and a server's are counted in A function and a server. A call is counted once, however many items it names, and a game's read whose every item is unchanged isn't counted toward the month or the day. The month is your account's, shared by all of its games; the day is each game's own, so one game can't spend the month in a day; both are your plan's, as what a game's and a player's values hold is. The codes are on each values page: a game's, a function's, and a server's.
A function and a server
What a game's function calls through the Arcadible Function SDK, and a server of your own through the Arcadible Server SDK.
| Limit | Value | When you reach it | What to do |
|---|---|---|---|
| A function's bundle | 1 MB, as arc build bundles it | function_too_large, from arc build or the release | Import less into it |
| A request's body | 1 MB, said or streamed | The game's request fails as too_large, before your function's code | Send less, or split it |
| A request's work | 50 ms of CPU, and 20 requests of its own | Past the CPU, the game's request fails as function_failed (one that runs over now and then may still answer, one that does so often doesn't); past 20, the next throws in your function, and your SDK calls (values, players, wires) count among them | Do less in one request |
| A function that's been replaced | Answers for a day after a newer build takes its channel | The game's request fails as retired | Have the player reload |
| A function's requests a minute | About 600, for a game on each channel | The game's request fails as busy | Call it less often, and try again |
| Your functions' requests a month | 1 million, every game of your account together, by the calendar month in UTC | Every function of your games is paused, on both channels, until the month turns: a game's request fails as limit_reached | Have your game go on without it, or ask for more |
| A function's requests a day | 200,000 for a game, both channels together, by the day in UTC | That game's function is paused until the day turns: its request fails as limit_reached | Find what calls it so often |
| Players in a read | 50 | The call fails as too_many | Ask for fewer at once |
| A request's calls to Arcadible | A minute from when the request came | The call fails as unauthorized | Call while the request is answered |
| Calls to Arcadible | 600 a minute, for a game on each channel, its keys and its function together | The call fails as busy | Slow down, and try again |
| Keys | 5 for a game on each channel | Making one fails as key_quota_full | Revoke one first |
| Keys made | 20 an hour, for your account, revoked ones too | arc server key create fails as key_create_rate_limited | Wait, then make it again |
| An answer | 15 seconds | The call fails as unavailable | Try again |
| Secrets | 16 for a game on each channel | Setting one more fails as secret_quota_full | Remove one first |
| A secret's value | 4,096 bytes | Setting it fails as argument_invalid | Keep less in one |
| Tickets | 60 a minute, for a player's address, and for their account | tickets.get fails as busy | Call it when you need one: it gives the same while it's good |
| A server's address | 2,048 characters, https | tickets.get fails as invalid | Use a shorter address |
| A ticket | 10 minutes | tickets.check fails as expired | Have your game get another |
| Arcadible's keys | Read within 10 seconds, when a server has none current | tickets.check fails as unavailable | Try again |
| A server's clock | 30 seconds from Arcadible's, either way | Past it, a good ticket fails as expired or unauthorized | Keep the server's clock set |
| A deleted player, kept listed | 30 days | players.deleted no longer lists them | Read it at least that often, such as once a day |
| A function's logs | 7 days, and 64 MB for a game, both channels together | The oldest go first | Read them sooner, with arc function logs |
| A line in a function's logs | 2 KB | It's cut, ending … [cut] | Log less on a line |
| An error in a function's logs | 4 KB, its message and stack together | Its stack is cut | Throw an error with a shorter message |
| A request in a function's logs | 32 KB, what it logged and threw together | Its errors are kept, and its later lines dropped, with one saying how many | Log less for each request |
| Following a function's logs | 5 at once for a game, an hour each | A sixth is refused; arc function logs --follow opens one again at its hour | Stop one, and try again |
A request counts once your function's code is given it: one refused before that, such as while it's paused, isn't counted. A function's own calls to values aren't counted with a game's calls to values: its requests are what's counted. The month and the day are your plan's.
Handles
A handle is 3 to 24 characters: lowercase letters, digits, and single hyphens, starting and ending with a letter or digit. It's unique among games, and some names are reserved.
| What | Limit | When it's reached |
|---|---|---|
| A handle let go | Held for your account for 30 days, when it changes or its game is deleted | Another account's game can't take it, and links to it don't work meanwhile |
| Handles on unreleased games | 5 per account, across your games with no production release | The deploy goes ahead without the handle (game_handle_quota_full) |
| An unreleased game's handle | 90 days from when it claimed it, with an email 14 days before | The handle lapses: anyone else can take it, and the game plays at its id links |
| A lapsed handle | Comes back to your account only with a production release, for 90 days | The deploy goes ahead without it (game_handle_lapsed) |
- A released game keeps its handle for as long as it exists. A game is released once it has a production release, and a production release is never held back by the last three rows.
arc deployrefuses a taken handle: another game's, one held for another account, or a reserved one (game_handle_taken).- Only
arc deploychanges a handle, so whoever can push to the game's repository can't change its name. Agitrelease must carry the game's current handle, or it fails (game_handle_changed), and so does a game whose handle the rules above held back or let lapse, until a production release witharc deploytakes it. - Arcadible can reclaim a handle that impersonates someone or infringes a name, or one held by a game that's never been released (Community Guidelines).