Request limits
Audience Developer
The GraphQL endpoint (/graphql) limits how many requests a client may send and how large each request may be. The values on this page apply to production (eu.pyck.cloud) and demo (demo.pyck.cloud).
Rate limits
Section titled “Rate limits”A request to /graphql must stay within every limit in this table. The average is the sustained rate in requests per second. The burst is the number of requests that may arrive at the same moment.
| What is counted | Average (requests per second) | Burst (requests) |
|---|---|---|
| Requests per client IP address | 300 | 500 |
Requests per tenant (X-Pyck-Tenant-Id header) |
100 | 300 |
Request size limits
Section titled “Request size limits”| Limit | Value |
|---|---|
| Request body | 2,000,000 bytes |
| Tokens in a GraphQL document | 15,000 |
| Nesting depth of a GraphQL operation or fragment | 500 |
What a client sees over a limit
Section titled “What a client sees over a limit”- Over a rate limit, Traefik answers with HTTP 429 Too Many Requests.
- A POST body over the byte limit is rejected by the router with HTTP 413 Payload Too Large.
- A document over the token limit or the nesting limit is rejected by the router.
This page is generated from the deployment config (application/kustomize/components/env-patches/traefik-rate-limit.yaml, application/kustomize/components/env-patches/ingress.yaml, application/kustomize/templates/env-config.yaml and application/kustomize/templates/router-configuration.yaml). Do not edit it by hand.