Functions are blocks of code that run on demand without the need to manage any infrastructure. Develop on your local machine, test your code from the command line (using
doctl), then deploy to App Platform — no servers required. Learn more about functions.
Namespaces have the following limits:
Up to 120 concurrent functions
Up to 600 invocations per minute
Up to 256 KB of logs per invocation
Up to 7 days of log retention
Functions have the following limits:
The maximum execution duration is 30 seconds each for initialization and function execution.
The maximum size of input parameters is 1 MB.
The maximum size of result responses is 1 MB.
The maximum size of artifacts is 48 MB.
Memory is limited from 128 MB – 1 GB, defaulting to 256 MB.
You cannot rename functions in the development namespace.
You cannot edit multi-file functions in the control panel.
There is not yet a public functions API.
We do not currently support scheduled functions, but plan to work on this feature.
While Functions can forward console and error logs to a third-party logging service, it currently only support Logtail and Datadog. For Logtail, create an HTTP source and use the generated token for the configuration.
We do not support trusted sources with MongoDB.
We do not support PostgreSQL connection pools.
We do not support trusted sources with the default Node.js runtime. As a workaround, use the alternative Node.js runtime called