Menu

1 / 11

An Introduction to Streaming on the Web

Vercel News·Lydia Hallie·6 months ago
#CmSwMTjN
#vercel#const#stream#streams#response
Reading 0:00
15s threshold

Chunking data, handling backpressure, server-side events, and more.

The ability to process data as it streams has always been a fundamental concept in computer science. JavaScript developers had access to streaming through XMLHttpRequest , but it wasn't until 2015 that it was accessible natively through the Fetch API.

Web streams provide a standardized way to continuously send or receive data asynchronously across network connections. They bring the power of streaming to the web, enabling developers to handle large data sets through "chunks", deal with congestion control ( backpressure ), and create highly efficient and responsive applications.

Leveraging web streams in your web apps can enhance the performance and responsiveness of your UIs.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.