-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recipe creation for split and union #49
Comments
+1 It would be great if the recipes were driven from use-cases, rather than just the mechanics of split or union. That is I want to do X and how I do X is by using split. |
@ddebrunner That's a good idea, do you have any thoughts on use cases that would apply here? I think that these recipes should be geared towards Quarks beginners. So, for split, I was thinking of something along the lines of: Suppose you have a stream of random integers between 0 (inclusive) and 100 (exclusive), and you would like to separate them by the last digit of each number. For instance, all numbers ending in |
I think that example is still just mechanics. If you look at split here it has a nice example of splitting by log message severity type. So the use case is I want to apply different analyics to log messages based upon their severity. |
What are your thoughts on these examples? split Suppose doctors at a hospital would like to monitor patients' states using a bedside heart monitor. They would like to apply different analytics to the monitor readings based on the severity category of the blood pressure readings. For instance, if a patient is in hypertensive crisis (due to extremely high blood pressure), the doctors may want to analyze the patient's heart rate to determine risk of a stroke. In this instance, we can use union Suppose an electric utility would like to gather electricity meter readings from all of its customers in the New England region of the United States. In this case, we can use |
Maybe add union to the split recipe rather than two, so having split the streams to do different processing to create alerts then union them to have a single stream that delivers alerts? |
Okay, I will add Should the two bullet points on the recipe ideas page be merged into one to reflect this change? |
Hi, wondering if we have a template on creating these recipes? If we are to create more recipe, is there a format we should follow? |
I intend to write up recipes for:
Recipe ideas can be found here: https://github.com/quarks-edge/quarks/wiki/Quarks-Receipe-Ideas
The text was updated successfully, but these errors were encountered: