MENU

Fun & Interesting

How to use "Streams" to improve performance in Node.js?

Software Developer Diaries 29,457 lượt xem 2 years ago
Video Not Working? Fix It Now

In this tutorial on Node.js Streams, pipes, pipelines and Transforms we're going to learn how all of that functionality works. Duplex, Writable and Readable Streams in Node.js can help when dealing with large-size files, to buffer chunks of it instead of filling your memory at once.

======⚡⚡⚡======
Consider supporting the channel by clicking the "Thanks" button ❤️

👉 Get a 20% discount on Brilliant.org (to learn Science, Technology, Engineering, and Math): https://brilliant.sjv.io/kjVO2z
======⚡⚡⚡======

🙌 Become my Patreon and get exclusive perks: https://patreon.com/softdevdiaries
💼 Follow me on LinkedIn and drop me a message if you'd like: https://linkedin.com/in/gusgadirov
💻 Also, let's connect on GitHub: https://github.com/gusgad

📚 Resources:
Top-level await: https://youtu.be/w1_qt9nyAFA
Node.js Streams documentation: https://nodejs.org/api/stream.html

🕒 Timestamps:
(0:00) How do Streams work?
(02:35) Readable Streams
(07:10) Writable Streams
(07:57) Duplex Streams: pipe, pipeline, & Transform

And don't forget to subscribe for more videos like this 😊

Comment