flâneur — a map of the web's best reading

Using Statsig in Serverless Environments - Statsig Documentation

docs.statsig.com · 596 words · saved by 1 readers

Was this page helpful?

Using Statsig in Serverless Environments Use Statsig in serverless environments like AWS Lambda, Vercel Functions, and Cloudflare Workers, including initialization patterns and cold start tips. Statsig's server SDKs run in serverless environments such as Google Cloud Functions, Cloudflare Workers, and Fastly Compute. Initialize the SDK, evaluate gates and configs locally inside the function, then call statsig.flush() before the function exits to send queued exposure and custom events. The examples use the statsig-node SDK in a Google Cloud Function, so adjust the implementation for your cloud

Explore this link on the map →

related reading