Newshot
Account

Vercel Sandbox 启动速度最高提升至 4 倍

AI summary

当复用镜像数据由区域缓存提供时,Vercel Sandbox 在华盛顿特区(iad1)以外区域的初始化速度最高提升至 4 倍。初始化现在会在离沙箱运行位置较近的地方读取缓存镜像数据,从而在缓存命中时避免往返 iad1 的源镜像存储。区域缓存支持由 Vercel Container Registry 托管的托管镜像和自定义镜像,包括基于这些镜像的快照。在针对 Vercel Managed Images 的内部端到端基准测试中,巴黎的启动时间下降约 75%,首尔则从约 3.5s 降至 1.05s。距离源存储较近的区域通常改善幅度较小,因为请求本就需要传输更短的距离。

Translation(model translation, not the source's own text)
题图
题图

当复用的镜像数据由区域缓存提供时,Vercel Sandbox 在华盛顿特区(iad1)区域之外的初始化速度现在最高可提升至 4 倍。

现在,初始化过程会在沙箱运行的附近位置读取缓存的镜像数据,从而在缓存命中时避免往返 iad1 中的原始镜像存储。区域缓存支持由 Vercel Container Registry 支持的托管镜像和自定义镜像,包括基于这些镜像的快照。

在针对 Vercel Managed Images 的内部端到端基准测试中,巴黎的启动时间下降了约 75%,首尔则从约 3.5s 降至 1.05s。距离原始存储更近的区域通常提升幅度更小,因为请求原本的传输距离就更短。

在 Vercel Sandbox 文档中了解更多。

Only about 438 characters could be extracted — the rest did not come through (common on sites that need scrolling or a login). Read the original for the full piece.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗