Node stream
A node stream is a method of transferring large amounts of data on mobile devices or websites (such as uploading detailed photographs) by breaking the file or data down into manageable chunks.[1] The chunks of data do not use as much computer memory, so they are less likely to slow down the device, allowing the user to do other things on it whilst waiting for the file transfer to complete. In technical terms, in Node.js a node stream is a readable or writable continuous flow of data that can be manipulated asynchronously as data comes in (or out).[2]
This API can be used in data intensive web applications where scalability is an issue.
A node stream can be many different things: a file stream, a parser, an HTTP request, a child process, etc.[3][4]
References
- ↑ Buna, Samer (2017-05-22). "Node.js Streams: Everything you need to know". https://www.freecodecamp.org/news/node-js-streams-everything-you-need-to-know-c9141306be93/. Retrieved 2020-04-15.
- ↑ Ferron, Giovanni (2012-12-03). "Introduction to Node.js Streams". http://www.sitepoint.com/introduction-to-streams/. Retrieved 2020-04-15.
- ↑ Fentanes, Roly (2012-09-10). "Mastering Node Streams: Part 1". Archived from the original on 2015-01-31. https://web.archive.org/web/20150131142631/http://dailyjs.com/2012/09/10/streams/.
- ↑ Fentanes, Roly (2012-11-19). "Mastering Node Streams: Part 2". Archived from the original on 2015-02-21. https://web.archive.org/web/20150221090840/http://dailyjs.com/2012/11/19/streams-part-2/.
External links
Original source: https://en.wikipedia.org/wiki/Node stream.
Read more |