Ga verder naar hoofdinhoud

Cloud provider limitations

The table outlines technical specifications and limits that are specific to the cloud provider.

Cloud providerFunctions per CDF projectConcurrent callsSchedulesCPU cores per function callRAM per function callFunction call timeoutFunction call data payload size
Google100100 per function1000 per project, 100 per functiondefault: 1.0, maximum: 3.0default: 1.5 GB, maximum: 5.0 GB9 minutes19 MB
Azure100100 per function1000 per project, 100 per function1.0 (not configurable)1.5 GB (not configurable)10 minutes36 kB
AWS100100 per function1000 per project, 100 per function1.0 (not configurable)1.5 GB (not configurable)10 minutes240 kB

1On 2024-02-01, the function call timeout for projects running on Google Cloud Platform (GCP) was changed from 15 minutes to 9 minutes.

Manage quotas

To manage quotas effectively, consider adopting the following guidelines:

Utilize schedules

Each Cognite Function can manage up to 100 schedules. To run the same function with different configurations, use the data field in the schedule. For example, if calculations vary across multiple sites, include the logic in the function code and trigger the correct version based on configuration. This combines multiple sites into one function, reducing the need for separate ones and optimizing quota use.

Regular audit and clean-up

With time, some Cognite Functions may become obsolete or unused, consuming quota unnecessarily. Audit your deployed functions regularly to ensure only active, relevant ones remain. Remove outdated functions to free up quota for new tasks and improve resource efficiency.

Governance

As the number of Cognite Functions increases, use version control systems (e.g., GitHub, Azure DevOps) to manage code and deployments. The CDF Toolkit simplifies deployment management. Assign owners to functions to ensure accountability during audits and clean-up.