NewsCrawler.org

Does Next.js streaming work on Lambda Web Functions?

Next.jsのストリーミングはLambda Web Functionsで動くか
Web Functions と Vercel で同じページを同時に読み込んだ様子
Image: zenn.dev

The author tested whether Next.js Suspense[1] streaming works on Lambda Web Functions, a new Lambda execution mode that became generally available in October 2026 in five regions, including Tokyo. In an earlier test with Lambda Web Adapter, the Suspense parts all appeared at once, even though the response had a chunked header. The author measured chunk arrival times against Vercel on 21 November 2026, using Next.js 16.4.6, React 19.3.1 and Node.js 24.

In every tested case, Web Functions delivered Suspense pages in stages without extra configuration, and the behavior was nearly the same as Vercel. The results held with CloudFront in front and with HTTP/2 and HTTP/3. In the sample app, content arrived about 1.0 second and 3.0 seconds after the shell, and the difference from Vercel was about 20 ms.

The difference appeared on cold start[2]: Web Functions took about 1.2 seconds to reach the first byte, or TTFB[3]. Vercel's PPR[4] page had a fast TTFB, but its Suspense content arrived about 0.64 seconds late.

Amazon Web Services shares (AMZN)

246.82 USD 0.0% since the news day, November 22

Close on November 20 Quotes: CNBC Chart by TradingView

Read the original zenn.dev

Sources

  • Zenn JA

    Next.jsのストリーミングはLambda Web Functionsで動くか

    7 likes1 bookmark0 comments

Published: First seen: Читать по-русски

Open as a page