Functions Limits

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 a production namespace or App Platform — no servers required. Learn more about functions.


  • You may have up to 5 namespaces.

  • Namespaces have the following limits:

    • Up to 120 concurrent functions. This limit can be increased by filing a support ticket.

    • Up to 600 invocations per minute. This limit can be increased by filing a support ticket.

    • Up to 256 KB of logs per invocation.

    • Up to 3 days of log retention.

  • Functions have the following limits:

    • The maximum timeout is 15 minutes. This includes 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 edit multi-file functions in the control panel.

  • Scheduled function triggers is currently in a limited, Beta release.

  • While Functions can forward console and error logs to a third-party logging service, it currently only supports Logtail, Datadog, and Papertrail. For Logtail, create an HTTP source and use the generated token for the configuration.

  • We do not support PostgreSQL connection pools.