Back to 2024 Agenda

Don't Cross The Streams: An introduction to streaming data in Node.JS

🕓 2:45 PM - 3:05 PM📍 Room 5 - Black Swan (Lv 2)
I hear you ask: "Why do I NEED to stream data? Why can't I just load all of it into a buffer and view it all at once - or better yet, convert it to a string so I can actually understand what this data looks like?" Actually, no one has ever asked that. No one cares about the Node Web Stream API as much as I do. In fact, most JavaScript developers find node streams confusing and scary. For example, look at this: ``` let data = ''; fs.createReadStream('filepath.txt').on('data', (c) => { data = data + c }) ``` See? Best case scenario, your eyes have already glazed over. At worst, you feel vaguely disgusted, there's an anxious feeling in your stomach, and you're wondering if it's too late to change careers. But, this talk will explain why you don't have to feel that way! Streams are extremely useful, and once you understand what they are for and why to use them, they get a lot less scary. We can do it together! I believe in you!
Alice McCullaghAlice McCullagh

It’s such a privilege to be able to run this conference and DDD Perth would love to acknowledge the traditional custodians of the land in which DDD is created, presented, and shared, the Whadjuk people of the Noongar Nation and their connections to land, sea and community. We pay our respect to their Elders past, present and emerging, and extend that respect to all Aboriginal and Torres Strait Islander peoples today.