Talk in English - US at php[tek] 2019
Track Name:
Advanced PHP
View Slides: https://speakerdeck.com/svpernova09/manage-large-data-sets-with-streams
Short URL: https://joind.in/talk/9949e
(QR-Code (opens in new window))
Working with streams sounds scary and complicated but we’ll show you how to leverage streams to process large data imports without having to sell your house to buy RAM. Streams are a way to generalize data for easier processing in a linear way including the ability to seek around the stream. We’ll cover our own tips and tricks we’ve learned along the way to help you dive deep into processing streams.
Streams have been in PHP since back in the 4.x days however we continually see developers trying to iterate on huge data sets and often run out of memory. We’ll show you a better solution instead of “ ini_set(‘memory_limit’,’16GB’);”
Comments
Comments are closed.
Great illustrations of stream manipulation and appropriate resource management when leveraging large amounts of data!