Chapter 5. Data Value Design Patterns
It may be an unpopular opinion, but data sitting somewhere in your storage is not a real asset. Most of the time, after it’s ingested into your system, it’ll be poor and have various quality issues. Let’s take an example of the visit events ingested to the streaming broker from our use case architecture.
The data producer for the streaming layer is a web browser, which means it can get any valuable technical information about the browser version, language, or operating system of the user. That would be enough if you wanted to analyze the technical part of each visit in your system. But what if you need to know more, like what the visitors using a specific browser have in common? Each visit event is ingested as a distinct item without any explicit relationship, so correlating the data is impossible without extra effort.
This is a typical scenario where data value design patterns are helpful. Their purpose is to augment the dataset to improve its usefulness for end users. How? There are different solutions that you’re going to learn about in this chapter.
You’ll see how to add extra value by either combining two datasets or computing the individual attributes with the Data Enrichment and Data Decoration patterns, which are both covered in the next sections. That said, they’re great for extending the context, but they won’t help if you have a huge volume of data and need an overview, as in the example quoted previously. That’s why next, you’ll ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access