// TODO: We need to include API Limits in here
This page offers a high-level overview of all limitations in place. It should help you determine if your use case is feasible and you want to move forward with the LivePerson Functions platform.
These limits are a combination of the underlying infrastructure and decisions made to ensure the stability and performance of the platform for all users.
Platform Limits
These limits apply on an account-wide basis.
| Limit | Value | Description |
|---|---|---|
| Maximum Functions per Account | 50 | The maximum number of functions that can be created per account. |
| Maximum Schedules per Account | 50 | The maximum number of schedules that can be created per account. |
| Maximum Skills per Function | 500 | The maximum number of skills that can be associated with a function. |
| Maximum Concurrent Deployments | 3 | The maximum number of deployments that can be ongoing at any one time. |
Deployment Limits
These limits are related to the function package and versioning.
| Limit | Value | Description |
|---|---|---|
| Maximum Code Length | 100,000 chars | The maximum size of your function's source code. |
| Maximum Function Versions | 10 | The maximum number of historical versions a single function can have. |
| Maximum Deployment Records | 5 | The maximum number of deployment history records kept for a single function. |
Environment Variables
These limits apply to the configuration of environment variables for a function.
| Limit | Value | Description |
|---|---|---|
| Maximum Environment Variables | 512 | The maximum number of environment variables per function. |
| Maximum Key Length | 200 chars | The maximum length of an environment variable name. |
| Maximum Value Length | 1024 chars | The maximum length of an environment variable value. |
Execution & Concurrency
These limits apply to a function's execution environment at runtime.
Compute Resources
Functions are allocated with 256MiB of memory and 0.083 vCPU by default.
Runtime Limits
| Limit | Value | Description |
|---|---|---|
| Function Execution Timeout | 30 seconds | The maximum time a function can run before it is terminated. |
| Maximum Instance Count | 25 | The maximum number of concurrent instances a function can scale to. The platform supports concurrent requests to a single instance, improving throughput. |
| HTTP Request/Response Size | 32MB | The maximum size for both incoming HTTP requests and outgoing HTTP responses. |
Networking
The networking model for Functions V2 is simplified, offering more direct communication.
| Limit | Value | Description |
|---|---|---|
| Outgoing Connections per Second | 700 | The number of simultaneous outgoing connections per function instance. |
| Outgoing Connections per Minute | 5,000 | The number of simultaneous outgoing connections per function instance. |
| DNS Resolutions per Second | 1,000 | The number of DNS lookups a function can perform per second. |
Scheduling
These limits apply to functions that are triggered by a schedule.
| Limit | Value | Description |
|---|---|---|
| Maximum Payload Size | 15KB | The maximum size of the payload for a scheduled task. |
Secrets
These limits apply to the storage of secrets.
| Limit | Value | Description |
|---|---|---|
| Maximum Secret Size | 16KB | The maximum size of a single secret's value. |
Logging
These limits are in place for function invocations. Exceeding them may result in lost logs.
| Limit | Value | Description |
|---|---|---|
| Maximum Log Entries | 10 | The maximum number of log entries (e.g., console.log) you can write during a single invocation. |
| Maximum Total Log Size | 16,384 chars | The maximum combined size of all log messages and their extra data per invocation. |
| Log Retention | 1 month | The duration for which logs are stored before being permanently deleted. |
| Log Search Window | 2 weeks | The maximum time range that can be queried in a single search request. |
| CSV Export Limit | 500 entries | The maximum number of log entries included in a single CSV export. |
| Read Logs | 60 / min | The maximum number of read requests per minute per account. |
| Write Logs | 600 / min | The maximum number of write requests per minute per account. |
Logs from test invocations are not persisted. Debug logs (console.debug) are also never persisted. If a function crashes or times out, logs may not be successfully collected.
Reporting
These limits apply to the reporting data, specifically the Activity Stream.
| Limit | Value | Description |
|---|---|---|
| Activity Stream Retention | 2 months | The duration for which the activity stream is stored. |