Skip to main content

Scaling

ConcernApproach
Concurrent reviewsScale workers; raise STEW_MAX_CONCURRENT carefully
HTTP / webhooksScale API (JWT is stateless)
UI trafficScale UI static pods / CDN
Queue depthOptional broker + KEDA
Multi-tenant isolationOrg-affine worker pools + strict sandbox

Worker notes​

  • Prefer one job at a time per process when applying org runtime env
  • Use Docker/k8s sandbox in multi-org shared pools (STEW_TENANT_ISOLATION=strict)
  • Graph MCP is embedded — scale workers, not a separate graph service

See Multi-tenant workers and Job queue.