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

# EdgeSpark platform limits

> Reference the current EdgeSpark platform limits across compute, database, storage, secrets, vars, request size, and deployment constraints.

The following EdgeSpark limits affect your application design and CLI workflow.

## Compute

| Limit                                     | Value                                          |
| ----------------------------------------- | ---------------------------------------------- |
| HTTP request duration                     | No hard limit while the client stays connected |
| Max request body size through your worker | 100 MB                                         |
| CPU time per request                      | 5 minutes                                      |

## Database

| Limit                  | Value          |
| ---------------------- | -------------- |
| Max database size      | 10 GB          |
| Max SQL statement size | 100 KB         |
| Max batch size         | 100 statements |
| Runtime DDL            | Not allowed    |

Use `db.batch([...])` for atomic multi-step operations. Schema changes belong in `server/src/defs/db_schema.ts` plus `edgespark db generate` and `edgespark db migrate`.

## Storage

| Limit                   | Value     |
| ----------------------- | --------- |
| Data storage per bucket | Unlimited |
| Max object size         | 5 GB      |
| Max objects per bucket  | Unlimited |

For large client uploads, use presigned URLs instead of proxying file bodies through EdgeSpark.

## Secrets and vars

| Limit                          | Value                  |
| ------------------------------ | ---------------------- |
| Max secret name length         | 64 characters          |
| Min secret name length         | 3 characters           |
| Allowed secret name characters | Alphanumeric, `-`, `_` |
| Max secrets per project        | 30                     |
| Max environment variables      | 30                     |

## Deployment

| Limit           | Value |
| --------------- | ----- |
| Max bundle size | 25 MB |

## See also

<Columns cols={2}>
  <Card title="Platform security" icon="shield" href="/concepts/platform-security">
    How EdgeSpark enforces auth, runtime SQL rules, and storage isolation.
  </Card>

  <Card title="Use storage" icon="hard-drive" href="/guides/storage">
    Use presigned URLs and bucket declarations to stay within storage limits.
  </Card>
</Columns>
