5X Faster Edge Functions: V8 Isolates To Firecracker MicroVMs
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Netlify has moved Edge Functions from a hosted execution service to Firecracker MicroVMs running inside its own edge network. The company reports warm invocations now take about 5–6ms at the median, down from 25–40ms, while cold invocations average about 9ms when images must be fetched.

Netlify says it has moved Edge Functions from a hosted execution service to Firecracker MicroVMs running inside its own edge network, reporting warm requests are roughly five times faster at the median. The company says a warm invocation now takes about 5–6 milliseconds, compared with 25–40ms on the previous infrastructure; the change does not require customers to alter their functions.

Buying for a business?Offer from Amazon

Get business pricing on networking and server gear

  • Business-only prices and quantity discounts
  • Tax-exempt purchasing
  • Multiple users, one account, clear invoices
As an affiliate, we earn on qualifying purchases.

Netlify describes the change as a rebuild of the compute infrastructure developed over several months with Unikraft. The company says it processes about one billion Edge Functions a day, serving tasks such as personalization, traffic routing and authentication. A function runs when a request matches its configured route, adding execution time to the request before the response can continue.

The performance figures apply to a warm invocation: routing a request to a compute node, entering a MicroVM, running the function and producing response headers. Netlify reports a median of about 5–6ms, down from 25–40ms, and says p99 invocations are 47.4% faster. It also reports 99.998% availability and five-times-faster delivery of Edge Function logs. These are company-reported results; the report does not provide an independent benchmark or detailed measurement methodology.

Netlify says a cold invocation occurs when a region has not yet seen a compute node for the function and must fetch its images before execution. The company puts these cases at about 1.2% of invocations, taking roughly 9ms on average. That figure is separate from the warm-request median and should not be read as an overall latency measurement.

At a glance
announcementWhen: Announced in a Netlify engineering repo…
The developmentNetlify has rebuilt the infrastructure behind Edge Functions, shifting execution from a hosted service to MicroVMs within its edge network.

Lower Latency Without Code Changes

For sites that run functions on matching requests, reducing execution overhead can shorten the time users wait for a response. Netlify’s claimed drop in warm median latency is most relevant to workloads where an edge function sits directly on a frequently used request path, including routing and personalization.

The move also changes where execution takes place: requests that previously left Netlify’s network for a hosted service now go to compute nodes inside the company’s edge network. Netlify says that design improves security and reliability as well as speed, and could support more complex edge workloads. Those are company assessments; the report does not include comparative security testing or customer outcome data.

Customers do not need to rewrite their functions to use the new platform, according to Netlify. The company says URL imports, npm packages, Node built-ins, configuration through netlify.toml and local development continue to work as before. That preserves existing workflows while changing the execution layer underneath them.

Products Worth Considering

Bose SoundLink Flex (2nd Gen) Portable Bluetooth Speaker with Fast Charger, Sunset Peach
Samsung Galaxy Tab A11+ 11-Inch Tablet, 8GB RAM, 256GB Storage, Silver

Samsung Galaxy Tab A11+ 11-Inch Tablet, 8GB RAM, 256GB Storage, Silver

LG UltraGear 27-inch 4K UHD IPS Gaming Monitor, Dual Mode 180Hz/360Hz, 1ms, G-SYNC Compatible

LG UltraGear 27-inch 4K UHD IPS Gaming Monitor, Dual Mode 180Hz/360Hz, 1ms, G-SYNC Compatible

As an affiliate, we earn on qualifying purchases.

From Hosted Service to MicroVMs

Previously, Netlify says, a request matching an Edge Function route left its network, ran through a hosted execution service and returned to Netlify for delivery. In the new design, the edge node forwards it to a compute node within the network. Netlify’s report describes a request being matched to a route, paired with a machine specification and assigned to a node in the relevant region.

The specification identifies images for the runtime, Netlify’s platform code and the customer’s function, and sets limits such as CPU, memory and connections. A service ID derived from the specification and site-specific information separates deploys: Netlify says different code or environment variables produce separate services and do not share a MicroVM. The compute node can reuse a service and locally stored images for subsequent requests, while missing images are fetched when needed.

Netlify says it uses rendezvous hashing to send a service to the same compute node repeatedly, helping keep its MicroVM and code warm. The report frames that consistency as a way to reduce cold starts, while acknowledging that directing repeated traffic to one node can create a hotspot. It says services also apply limits on how many requests a MicroVM handles before shutdown and can start another in anticipation.

““roughly 5x faster at the median.””

— Netlify

Benchmark Scope and Hotspots

The published report does not specify the test conditions, sample size, regions, workload mix or measurement period behind its latency and availability figures. It also does not name an independent evaluator. The reported 5–6ms median describes warm invocations, while cold starts and other parts of a full page request can affect what a user experiences.

Netlify says the new architecture improves security and reliability, but the supplied report provides no independent security review or detailed incident comparison. Its own description also identifies a possible hotspot risk from repeatedly assigning a service to the same compute node. The material provided does not explain how often that occurs or quantify its effect.

It is not clear from the report whether the results apply uniformly across all regions, customer workloads or traffic levels. The company says cold image fetches occur in about 1.2% of invocations, but does not provide a breakdown of how that rate varies by region or over time.

Netlify’s Platform Rollout

Netlify says the new infrastructure is running Edge Functions and that customers can continue using their existing code and configuration. The report does not identify a separate migration deadline or customer action required. Its next step, based on the published account, is continued operation and development of the platform; no specific schedule for further changes is stated.

Further reporting or updates would be needed to compare performance across regions and workload types, validate the reported figures independently, and clarify how Netlify manages node hotspots as traffic grows. Netlify has also pointed to a companion account from Unikraft, but the source material here does not include that team’s detailed findings.

Key Questions

What changed in Netlify Edge Functions?

Netlify says execution moved from a hosted service to Firecracker MicroVMs on compute nodes inside its edge network.

How fast are the functions now?

Netlify reports warm invocations take about 5–6ms at the median, compared with 25–40ms before. It also reports a 47.4% improvement for p99 invocations. These are company figures, and the report does not detail the benchmark methodology.

Do customers need to change their code?

Netlify says no. Existing support for URL imports, npm packages, Node built-ins, netlify.toml declarations and local development remains available.

What is a cold invocation?

It is a request in a region where the required images are not yet available on a compute node, so they must be fetched before execution. Netlify says this happens in about 1.2% of invocations and takes about 9ms on average.

Are the speed and security claims independently verified?

The supplied Netlify report gives company-reported performance and security claims but does not cite an independent benchmark or security audit. The scope and methodology behind the figures remain unclear.

Source: hn

You May Also Like

China International Big Data Industry Expo Surges In Global Coverage

The China International Big Data Industry Expo has seen a surge in international media mentions, highlighting its growing global influence in the tech sector.

Show HN: Firefox In WebAssembly

A developer demonstrates Firefox rendering entirely within WebAssembly, including Gecko, UI, and SpiderMonkey engine, via a Show HN post.

Enterprise Cloud Storage Solutions: A Back to school Guide

Discover how enterprise cloud storage solutions support scalable, secure, and reliable data management. Learn recent developments and how to choose the right provider.

Data Centers Surges In Global Coverage

Search interest in data centers has spiked, with media mentions increasing over 11 times the baseline, indicating rising global attention on data infrastructure expansion.