xcladeDocs
Storefront GraphQL

Limits & Quotas

Exact default limits enforced by xclade-store-backend on /graphql and /admin/graphql

Security Limits & Quotas

All limits below reflect the exact defaults compiled into xclade-store-backend (internal/platform/config/config.go, internal/server/router.go, and graph/middleware/security.go).


Limit Comparison Table

ControlStorefront (/graphql)Admin (/admin/graphql)Wire Error Code
Max AST Depth10 (GRAPHQL_MAX_DEPTH)14 (GRAPHQL_MAX_DEPTH + 4)QUERY_DEPTH_EXCEEDED
Max Aliases1530ALIAS_LIMIT_EXCEEDED
Max Directives5075DIRECTIVE_LIMIT_EXCEEDED
Max Complexity1500 (GRAPHQL_MAX_COMPLEXITY)1500—
Max Batch Size5 (GRAPHQL_MAX_BATCH)5BATCH_LIMIT_EXCEEDED
Max Request Body~105 KB (15,000 query + 25,000 vars + 64 KiB buffer)16 MiB (supports batch imports)QUERY_TOO_LARGE (413)
Execution Timeout10,000 ms (GRAPHQL_TIMEOUT_MS)10,000 msRequest canceled
Rate Limit150 req/min per actor ID / IP (GRAPHQL_RATE_LIMIT_PER_MIN)150 req/min per actor ID / IPRATE_LIMIT_EXCEEDED (429)
Introspection (Prod)Disabled for anonymous/customers; allowed for Store AdminsAllowed for Store AdminsGraphQL error
CSRF Guard (GET)Enforced in productionAlways enforcedCSRF_PREFLIGHT_REQUIRED (400)

Internal Query & Cache Capacities

ResourceDefault Capacity
Parsed AST LRU Cache1,000 query documents per pod
Automatic Persisted Queries (APQ) LRU Cache512 SHA-256 query hashes per pod
Default Public Response Cache TTL300s (GRAPHQL_CACHE_TTL_SECONDS, overridden per root query field)
Admin SSE Keep-Alive Ping15s

Scaling Limits

Need higher sustained throughput, elevated rate budgets, or dedicated read replicas for flash drops? Upgrade your store pod tier (Mini, Startup, Scale, or Enterprise) directly from Console → Billing & Plans with zero downtime.

On this page