From the course: Learning Azure Durable Functions

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Aggregator pattern

Aggregator pattern

- We've learned about five of the six durable function patterns so far, including the human interaction pattern in the last video. Now we'll explore our last pattern, the aggregator pattern. In the event that you need to collect data over a period of time and combine it into a single, identifiable entity, the aggregator pattern is what you want. This is common when collecting data from an IoT device over a few weeks or months, like a plant hydration sensor or ambient temperature readings in a room. If you happen to be collecting data from multiple sources, say several IoT devices and sensors spread across different locations, or expect to receive data in batches, say receiving hourly CSV files with a thousand or more records, or expect random bursts of data over really long periods of time, like your health stats collected over the years through your phone or a wearable device, the aggregator pattern can handle it all.…

Contents