concept stream in category edge computing

appears as: streams, stream, The stream, stream
Making Sense of Edge Computing

This is an excerpt from Manning's book Making Sense of Edge Computing.

Maybe you’re happy with your current setup, gathering all of your data to a local datacenter or to the “cloud,” where it can be easily dealt with. For smaller, less complex workflows this will work just fine. Consider, though, if you need to process something fairly large and continuous, like streams of video for unauthorized personnel. Can your centralized system handle 10 video streams, or hundreds, or thousands? What if those streams are in higher resolutions like 4K? With data feeds that large, you may find yourself struggling — or, worse, paying handsomely — to even transfer it all back to your data lake; let alone storing and processing it. With edge computing you handle the processing of these streams either on the devices themselves — or on infrastructure that is close in proximity to the devices with more adequate resources — meaning scalability is much easier to achieve and the hardware requirements are much easier to meet on a per-device basis. So rather than processing all those video streams in your data center, you tell each device to look for unauthorized personnel and only send alerts when they find one. Now you only need to transfer video data when you are reviewing and confirming an alert you’ve received, thus saving time and money on data transfers and infrastructure.

In this chapter you’ll be working with streaming events, which is data that is observed intermittently and without access to complete data. If you’ve ever watched the old I Love Lucy – The Chocolate Factory episode, you already have a mental picture of what streaming events are all about. In the main scene, Lucy and Ethel are instructed to wrap pieces of candy as they roll down a conveyer belt in single row. Lucy and her friend are sternly warned to not let a single piece of candy make its way past them to the packing room without being wrapped. The stream, in this case a conveyer belt, continuously rolls out new events (chocolates). While the event stream (conveyer belt) appears to be moving at a manageable pace Lucy and Ethel very soon find themselves stuffing candy events in their mouths and down their shirts to avoid downstream (the boss) alerts detection. When it is apparent to Lucy that their event- processing technique is not effective in dealing with the onslaught of candies she yells to Ethel, “I think we are fighting a losing game.”