Platform

Developers

Resources

Pricing

Statsig x Vercel: Introducing Experimentation on the Edge

Thu Dec 15 2022

Joe Zeng

Software Engineer, Statsig

Vercel

Vercel is a platform that enables users to develop, preview, and ship modern web experiences. Vercel provides unsurpassed vertical integration, from developer experience to edge delivery. With the industry’s most advanced development tools paired with parallel computing in a serverless cloud environment, Vercel provides a fully-managed, highly-automated experience for both developers and users.

Statsig

Statsig is the leading experimentation and feature management platform helping businesses use data to move faster and build better products. Statsig goes beyond measuring events and clicks and empowers teams to easily see which feature releases drive core business metrics.

To get started, simply create an account, and enjoy up to 5 million events each month for free.

Create a free account

You're invited to create a free Statsig account! Get started today, and ping us if you have questions. No credit card required, of course.
363530325 3574351406143515 2998266432766333418 n

Vercel and Statsig: Elevated Edge Config

Vercel Edge Config is an ultra-low latency data store for configuration data, globally distributed on Vercel’s Edge Network. With this release, Statsig will push config updates into Edge Config, where users can consume up-to-date feature flag and experimentation configurations with ultra-low latency.

Teams leveraging both platforms experience a reduction in serverless cold-start times and a greatly improved end-user experience.

How it works

Vercel users can now leverage Statsig's server SDK at the edge to grab configurations and bucket users into feature experiences. If you are a Vercel user, you’re empowered to set up the Edge Config integration to pull Statsig configurations from the edge.

Advantages: Two are better than one

The advantages of integrating are driven by Edge Config’s ability to let you read feature flags without network requests to Statsig. By no longer needing to go to the network, this offers a magnitude lower latency and better reliability while lowering infrastructure intensity.

In the screenshot below, you can see the Setup Vercel Integration window. After selecting the Project and Edge Config, Statsig will sync project configs into the selected Edge Config. You can then read the stored values in your project from Edge Config at minimal latency.

setup vercel integration in statsig
setup vercel integration in statsig 2

Customer outcomes

With this new integration, Statsig and Vercel customers increase the value achieved for both solutions. The ability to check up-to-date feature gate and experiment assignments through Edge Config results in:

  • Reduced latency on requests to improve end-user experience, faster website load times, and reduced cumulative layout shift (CLS)

  • Improved reliability due to no longer needing to go to the network

  • Reduced infrastructure costs

These outcomes are available to all Statsig and Vercel customers who choose to integrate at no additional cost—just plug and play!

To get started, sign up today for a Statsig account and you'll receive 5 million free events each month.

Create a free account

You're invited to create a free Statsig account! Get started today, and ping us if you have questions. No credit card required, of course.
363530325 3574351406143515 2998266432766333418 n


Try Statsig Today

Get started for free. Add your whole team!
We use cookies to ensure you get the best experience on our website.
Privacy Policy