Vercel Pro 用户现在可配置三个函数运行区域

来源: Vercel News

原文

Pro customers can now set up to three regions for their Vercel Functions, enabling compute to run closer to distributed data sources for faster responses and improved performance. When multiple Vercel Function regions are configured, user requests that require compute will be routed to the closest specified region.

Previously, functions for Pro customers were restricted to a single region. Increasing to three regions enables:

  • Global low-latency

  • Maintaining high compute density leading to higher cache hit rates and lower cold starts

  • Compatibility with standard database replication like Postgres read replicas

This also adds an extra layer of redundancy, complementing the built-in multi-Availability Zone redundancy of Vercel Functions.

To configure additional regions, add a regions property to your vercel.json.

Redeploy your project for the changes to take effect. Learn more about configuring regions.

Read more