Vercel Edge Runtime Support
Blog post from Highlight.io
Vercel Edge Runtime, built on Cloudflare Workers, offers a compelling solution for serverless computing by eliminating cold starts and reducing network latency, thanks to its global data center deployment and cost-effective infrastructure. However, its lack of Node.js compatibility can pose challenges, as developers may encounter unsupported API errors during deployment. Highlight supports the Edge Runtime by utilizing a customized version of the opentelemetry-sdk-workers package, addressing compatibility issues with Edge-incompatible API calls through strategic patching in the CI/CD pipeline. The Highlight team is exploring ways to simplify API endpoint wrapping in @highlight-run/next, considering both automated approaches using Rollup and static analysis, and a codemod for direct codebase edits, though these solutions require careful validation to ensure maturity and stability.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| OpenTelemetry | 9 | 329 | 43 | 20 | +19% |
| Edge Computing | 7 | 66 | 14 | 9 | +61% |
| Serverless | 3 | 649 | 154 | 75 | +64% |