Thursday, December 15th 2022
Introducing Edge Config: Globally distributed, instant configuration
Posted by
Last month we announced the limited availability of Vercel Edge Config, an ultra-low latency data store for near-instant reads of configuration data.
Edge Config is now generally available, alongside integrations with Statsig and HappyKit for A/B testing and Feature Flags.
Why Edge Config
Edge Config is a distributed data store optimized for near-instant reads. By pushing data to every region, before any requests are made, you're able to read that data from a Vercel Function or Edge Middleware immediately upon request.
Because data is pushed to every edge region at write time, we've seen most lookups return in 5 ms or less, and 99% of reads will return under 15 ms.
This speed and global distribution make Edge Config great for:
- A/B testing
- Feature flags
- Maintaining complex and dynamic redirects
- Configuring and updating bespoke request blocking rules, without a redeploy
Maintenance Page
Trigger a maintenance page at the edge with Edge Config and Edge Functions
Feature Flagging
Control whether your store is open or closed with Edge Config
Edge Config for Experimentation
Paired with tools like Statsig, HappyKit, Split, and other experimentation partners, Edge Config can drastically improve performance and load experience. By integrating these tools with Edge Config, their data gets pushed to the edge when it's changed. When a user visits your site, no extra network requests are needed to retrieve the config data. What's more, since the data is globally distributed, latency for the initial read is reduced.
Alongside the beta release of Edge Config, we're introducing new integrations with both Statsig and Happykit.
Statsig is an experimentation and feature management platform helping businesses use data to move faster and build better products. Vercel users can now leverage Statsig's server SDK at the edge to grab configurations and bucket users into feature experiences.
HappyKit is a powerful feature flagging service for your Next.js applications that’s trusted by hundreds of projects to serve over a billion feature flags since its creation. HappyKit works directly with Vercel Edge Config — this allows you to update feature flags easily, without performing a redeploy. And you can evaluate feature flags immediately, usually in only a few milliseconds.
We're actively working with our partners in the space to build further first-party integrations.
Split Software
Get Started
You can get started today with an integration, Edge Config SDK, or by using one of our examples.
import { get } from '@vercel/edge-config';
const featureFlagEnabled = await get("featureFlagEnabled")
Edge Config is now generally available. Check out the documentation or deploy it on Vercel.
We’re excited to hear what you think, and how you’re using Edge Config. Give us feedback in the Vercel Community Discussions.
Related reading