> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useterse.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Limits

## Message sizes

Arguments, return values and WebSocket payloads are JSON.  They are limited to the following sizes:

| Feature | Max Size |
| - | - |
| RPC Method call arguments | 32 MiB |
| WebSocket message | 32 MiB |
| WebSocket connection metadata | 16 KiB |
| Tags per socket | 10, up to 256 characters each |

## Names and IDs

Names and IDs use ASCII letters, digits, `.`, `-`, and `_`.

| Name | Max Length |
| - | - |
| Actor class | 48 bytes |
| Actor ID | 128 bytes |
| Method | 128 bytes |

## Database

Each actor has its own SQLite database.

| Limit | Value |
| - | - |
| Database size, including the write-ahead log | 10 GiB |
| Bound values per statement | 32,766 |

## Organization quotas

Every organization has enforced quotas

| Quota | Value |
| - | - |
| Active actors | 200 |
| Actor starts | 5 per second, bursts of 100 |
| WebSocket connections per actor | 32,768 |
| Observer logs and traces | Kept 30 days |

Ask in [Slack](https://join.slack.com/t/tersecommunity/shared_invite/zt-3y01ap0bn-VvOqz~iJW0LbJ0cTqWuAIQ) to raise a quota.

## Lifecycle and timeouts

| Limit | Value |
| - | - |
| Idle time before an actor goes dormant | 10 seconds; up to 24 hours. |
| One HTTP request or WebSocket connection | 24 hours |
| Connecting with a WebSocket URL | Within 60 seconds of issue |
| One alarm run | 15 minutes |
| Alarm retries | 6, with exponential backoff starting at 2 seconds |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.