GenHTTP Lambda Docs

Concepts

Tiers and limits

An app's tier says what it is for - trying something, or an app people use - and decides how long it is kept, how much it may hold, whether it may have a domain and connect to other servers.

Every app is in a tier, which says what it is for. The tier decides how long the app is kept without use, how much room it gets, whether it may have a domain of its own and whether its code may connect to other servers. Only the operator moves an app between tiers - on the app’s page in the admin panel, under Manage, Tier - and owners cannot choose.

The tiers#

Sandbox Production System
For trying something; where new apps start an app people use what the installation itself depends on
Kept while unused no: offline after 30 days without visits or changes, removed after 90 yes yes
Domain of its own no yes yes
Connects to other servers only once the operator allows it yes, unless the operator declines yes, unless the operator declines
Compiled as the server starts no, on its first request yes yes
A version may come to 32 MB 128 MB 128 MB
Its data may come to 512 MB 4 GB 4 GB
Analytics shown 7 days 365 days 365 days

The sizes and durations are the defaults; the operator sets each of them under Limits in the admin panel, and may give the tiers other names - “Free” and “Premium”, for instance - which the pages then show.

A fourth tier, Demo, holds the installation’s demos: read only, never assigned by hand. A system app cannot be blocked, is never listed in the showcase, and only the operator can delete it.

Where new apps start#

New apps start in the sandbox, so that an installation open to anybody does not keep what nobody uses. An installation run for a team, where every app is meant to stay, sets New lambdas start in to Production under Limits.

How an unused app goes away#

In the sandbox, an app counts as used when somebody visits it or changes it. After 30 days of neither it is taken offline; its code, versions and data stay, and deploying it again brings it back. 90 days after the last visit or change it is removed for good, address included. The editor says when either moment is near.

To keep an app: use it, or ask the operator to move it to production. In the simple view, the tile Host it professionally writes to the operator’s contact address, where one is set (LAMBDA_CONTACT).

Limits for every app#

Limit Default
Versions kept per app 50, and the one online
Drafts open per app 10
Requests per second to the apps, per client 250
Build-agent requests per address and day 10
Size of a showcase picture 3 MB

Moving between tiers#

Moving an app changes what it may do from then on, and nothing else: its data does not move, and it keeps running. Moved to a tier that allows less, an app keeps what it has - its versions can still be deployed and rolled back to, data beyond its new room stays readable - but a new save that is too large, or a write past its room, is refused with a message naming the limit and the tier above. A domain is kept, but not served, in a tier without domains.