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 (May 22, 2017). "Node.js Streams: Everything you need to know". freeCodeCamp. Retrieved 2020-04-15.
- ^ Ferron, Giovanni (December 3, 2012). "Introduction to Node.js Streams". JavaScript. SitePoint. Retrieved 2020-04-15.
- ^ Fentanes, Roly (September 10, 2012). "Mastering Node Streams: Part 1". DailyJS. Archived from the original on 2015-01-31.
- ^ Fentanes, Roly (November 19, 2012). "Mastering Node Streams: Part 2". DailyJS. Archived from the original on 2015-02-21.
External links
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.