In this section, we will talk about various processing patterns for unbounded data. Unbounded data patterns differ from bounded or fixed width data. As with every data stream, the context in which old records were processed changes. Therefore, stream processing is continuous and only true at a given time. In this section, we will cover some of the patterns common to any type of stream processing. Let's look at them one by one.
You can always process unbounded data in batch mode. You can achieve this by slicing or converting unbounded data to bounded data. A common technique for performing that is called windowing or tumbling windowing. In this process, unbounded data is processed in a window of fixed length, mostly separated by a time frame, repeatedly. The following diagram shows batch stream processing windowing:
Another approach to batch unbounded data processing is using sessions. The following diagram represents how...