惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Blog — PlanetScale
Blog — PlanetScale
小众软件
小众软件
F
Fortinet All Blogs
博客园 - 叶小钗
博客园_首页
D
DataBreaches.Net
Apple Machine Learning Research
Apple Machine Learning Research
U
Unit 42
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
博客园 - Franky
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
IT之家
IT之家
M
MIT News - Artificial intelligence
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog

Vercel News

Vercel Open Source Program: Winter 2026 cohort How Notion Workers run untrusted code at scale with Vercel Sandbox How we run Vercel's CDN in front of Discourse From idea to secure checkout in minutes with Stripe Building Slack agents can be easy Scaling redirects to infinity on Vercel Advancing Python typing Gamma builds design-first agents with Vercel How Avalara turns pipe dreams into patent-pending with v0 Keeping community human while scaling with agents How OpenEvidence built a healthcare AI that physicians actually trust Security boundaries in agentic architectures Skills Night: 69,000+ ways agents are getting smarter Video Generation with AI Gateway We Ralph Wiggumed WebStreams to make them 10x faster How Stably ships AI testing agents in hours, not weeks How we built AEO tracking for coding agents Anyone can build agents, but it takes a platform to run them Introducing Geist Pixel The Vercel AI Accelerator is back with $6m in credits Making agent-friendly pages with content negotiation The Vercel OSS Bug Bounty program is now available Introducing the new v0 Run untrusted code with Vercel Sandbox, now generally available How Stripe built a game-changing app in a single flight with v0 How Sensay went from zero to product in six weeks AGENTS.md outperforms skills in our agent evals Agent skills explained: An FAQ Testing if "bash is all you need" AWS databases are now live on the Vercel Marketplace and v0
A/B Testing and Feature Flags with sub-millisecond perfor...
2023-04-06 · via Vercel News

2 min read

A globally distributed data store for low latency experimentation.

Configuration data is used to control everything from A/B testing and feature flags to advanced rewrites and bespoke request-blocking rules. However, traditional solutions for managing configuration data can be slow, unreliable, and difficult to scale, which can negatively impact the user experience, latency, and overall effectiveness of your website.

Today we’re announcing the general availability of Edge Config, a new solution for managing configuration data in the cloud designed to be ultra-fast, reliable, and scalable, which can help improve your website's performance and efficiency.

import { NextResponse, NextRequest } from "next/server";

import { get } from "@vercel/edge-config";

export async function middleware(request: NextRequest) {

if (await get("showNewDashboard")) {

return NextResponse.rewrite(new URL("/new-dashboard", request.url));

}

}

Vercel Edge Config has a simple API to get started quickly, shown here with Edge Middleware.

Edge Config is a globally distributed, ultra-low latency data store for configuration data. It's optimized for fast, inexpensive reads and infrequent writes, making it perfect for managing experimentation and configuration data in modern web applications. Unlike traditional solutions for managing configuration data, Edge Config enables dynamic data storage alongside your functions, which means that your data is actively replicated to all of Vercel's regions before it's requested. This ensures that your data will always be available instantly, no matter where your users are located.

LaunchDarkly and Vercel’s mutual enterprise customers now have a way to deploy feature flags and experiments at the edge with zero latency. Every company is becoming a software company and this integration will further our joint mission to empower companies to ship and iterate applications at lightning speed.

John Kodumal, Co-Founder and CTO at LaunchDarkly

  • Make your experimentation near-zero latency: Most lookups return in 0ms, and 99% will return in under 10ms. You get nearly the performance of static configuration with the convenience of updating it from your experimentation tool, from our API, or from our UI.

  • Make changes without a new deployment: Changes to Edge Config are pushed to every region within seconds, so that you can take advantage of them without needing to deploy your entire site.

  • Integrate with your experimentation tool: Automatically populate the Edge Config connected to your project with the experiment’s evaluation rules. We can then fetch our experiments in our code easily by integrating directly with Statsig—meaning you make changes in the Statsig interface, and you can query the values lightning-fast from Edge Config within Edge Middleware.

Combining Statsig with Next.js and Vercel Edge Config unlocks a high-performance feature management and experimentation engine in a way that was just not possible before. Our customers are using the integration to control releases and automate experimentation with near zero latency. The impact is immediate when running experiments on landing pages, UX optimizations, URL redirects, and more.

Vijaye Raji, Founder and CEO at Statsig

We’re continuing to work with integration partners for dynamic personalization at the edge. Split is currently upgrading their integration to include support for Edge Config and we are happy to announce a LaunchDarkly integration will be available at the end of April.

The globally consistent and dynamic nature of the data storage offered by Edge config makes it the perfect fit for Split feature flags SDK to work at the edge, providing users near zero latency to serve both feature flag and experimentation use cases for Vercel users leveraging middleware logic.

Pato Echague, Co-Founder and CTO at Split

Link to headingDynamic routing with Edge Middleware

Combining Vercel Edge Middleware with an ultra-low latency data store opens up numerous other options to control your routing dynamically. For example, you can add blocked IPs and user-agents in Edge Config and make changes without needing to deploy your site. In your middleware you can query the entire configuration list at once then reject those in middleware with minimal overhead.

import { getAll } from "@vercel/edge-config";

export async function middleware(request: Request) {

const [userAgents, ipAddresses] = await getAll(["userAgents", "ipAddresses"]);

if (

userAgents.includes(request.headers.get("user-agent")) ||

ipAddresses.includes(request.ip)

) {

return new Response("Denied", { status: 403 });

}

}

Vercel Edge Config can be used to implement advanced security rules like geolocation blocking.

Link to headingGet Started with Edge Config

Edge Config is available to every Vercel account. Hobby users can perform 50,000 reads per month. Pro and Enterprise users can perform 1,000,000 reads per month, with additional usage available for an additional charge.

You can see the number of reads and writes for your Edge Config in your account dashboard.

To get started with Vercel, deploy an example or check out our documentation.