Newshot
Account

Vercel Sandbox 快照创建速度最高提升 10 倍

AI summary

Vercel Sandbox 快照创建速度最高提升 10 倍,快照耗时中位数从 4.4 秒降至 0.4 秒以内。快照恢复速度也提升 50%,p50 从 500ms 降至 250ms。新格式通过更高效的数据索引实现更多并行读写,并让基础镜像与用户数据并行恢复。

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

Vercel Sandbox 快照创建速度现已提升最高 10 倍。快照创建时间中位数从 4.4 秒降至 0.4 秒以下。快照恢复速度也提升了 50%,p50 从 500ms 降至 250ms。

现在快照可以通过复用 Vercel Hive Snapshot(VHS)格式内的 frame 来完成写入和恢复。VHS 现在以更高效的方式索引数据,这意味着可以并行执行更多的读写操作。快照现在可以并行恢复更多 Sandbox 基础镜像与用户数据,从而让整体操作更快。

持久化沙箱(默认选项)会在会话停止时自动创建快照,并从最新快照恢复。这适用于所有新快照,无需任何配置。现有快照保持原有格式。

在快照文档中了解更多。

Only about 308 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 ↗