copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2023-10-17 |
code engine, functions, stateless code snippet, code snippet, stateless |
codeengine |
{{site.data.keyword.attribute-definition-list}}
{: #fun-runtime}
{{site.data.keyword.codeengineshort}} includes Managed runtimes that you can use for your functions. {: shortdesc}
Managed runtimes include Node.js and Python versions and specific CPU and memory combinations. These runtimes are optimized for fast startup. These runtimes are pre-warmed, which avoids the overhead of pulling container images and starting containers and processes. Your code is injected into an already running container.
Need to deploy a container image? See Working with apps or Working with jobs and job runs. Not sure what type of {{site.data.keyword.codeengineshort}} workload to create? See Planning for {{site.data.keyword.codeengineshort}}. {: tip}
{: #fun-supported-managed}
The following runtimes are supported as managed runtimes.
- Node.js 18
- Python 3.11
{: #fun-supported-combo}
See the following list for valid combinations of CPU and memory for functions.
- 0.25 vCPU and 1 GB memory
- 0.5 vCPU and 2 GB memory (Default)
- 1 vCPU and 4 GB memory
For memory and CPU information, see Supported memory and CPU combinations.