edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlaboss <...@git.apache.org>
Subject [GitHub] incubator-quarks-website pull request: [QUARKS-123] [REVIEW] adapt...
Date Thu, 21 Apr 2016 18:41:45 GMT
Github user dlaboss commented on a diff in the pull request:

    https://github.com/apache/incubator-quarks-website/pull/40#discussion_r60633997
  
    --- Diff: site/recipes/recipe_adaptable_polling_source.md ---
    @@ -0,0 +1,138 @@
    +---
    +title: Changing a Polled Source Stream's Period
    +---
    +
    +The [Writing a Source Function](recipe_source_function.html) recipe introduced the basics
of creating a source stream by polling a data source periodically.
    +
    +Oftentimes, a user wants the poll frequency to be adaptable rather than static.  For
example, an event such a sudden rise in a temperature sensor may motivate more frequent polling
of the sensor and analysis of the data until the condition subsides.  A change in the poll
frequency may be driven by locally performed analytics or via a command from an external source.
    +
    +A Quarks IotProvider and IoTDevice with its command streams would be a natural way to
control the application.  In this recipe we will just simulate a "set poll period" command
stream.
    --- End diff --
    
    done


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message