Accessors Tutorial: Bringing Sanity to IoT's use of Callbacks
Edward A. Lee

Citation
Edward A. Lee. "Accessors Tutorial: Bringing Sanity to IoT's use of Callbacks". Tutorial, 24, February, 2016.

Abstract
In the Internet of Things (IoT), a common design pattern is to use Asynchronous Atomic Callbacks (AAC) where short atomic actions are interleaved with atomic invocation of response handlers. Tools like Node.js, Vert.x and TinyOS use AAC. Another common design pattern is Actors, where sequences of requests for a service ( a stream) triggers a sequence of responses. Actors embrace concurrency and scale well. In Accessors, we combine AAC and Actors to create a design pattern for IoT that embraces concurrency, asynchrony and atomicity. Other efforts, such as Node Red (IBM) and Calvin (Ericcson) are pursuing this approach. The emphasis of Accessors is on rigorous contracts for interactions. In this tutorial e-Workshop, we will show how to use Accessors in the Browser, Node.js and Ptolemy II.

Electronic downloads

Citation formats  
  • HTML
    Edward A. Lee. <a
    href="http://www.terraswarm.org/pubs/731.html"
    ><i>Accessors Tutorial: Bringing Sanity to IoT's
    use of Callbacks</i></a>, Tutorial,  24,
    February, 2016.
  • Plain text
    Edward A. Lee. "Accessors Tutorial: Bringing Sanity to
    IoT's use of Callbacks". Tutorial,  24, February, 2016.
  • BibTeX
    @tutorial{Lee16_AccessorsTutorialBringingSanityToIoTsUseOfCallbacks,
        author = {Edward A. Lee},
        title = {Accessors Tutorial: Bringing Sanity to IoT's use
                  of Callbacks},
        day = {24},
        month = {February},
        year = {2016},
        abstract = {In the Internet of Things (IoT), a common design
                  pattern is to use Asynchronous Atomic Callbacks
                  (AAC) where short atomic actions are interleaved
                  with atomic invocation of response handlers. Tools
                  like Node.js, Vert.x and TinyOS use AAC. Another
                  common design pattern is Actors, where sequences
                  of requests for a service ( a stream) triggers a
                  sequence of responses. Actors embrace concurrency
                  and scale well. In Accessors, we combine AAC and
                  Actors to create a design pattern for IoT that
                  embraces concurrency, asynchrony and atomicity.
                  Other efforts, such as Node Red (IBM) and Calvin
                  (Ericcson) are pursuing this approach. The
                  emphasis of Accessors is on rigorous contracts for
                  interactions. In this tutorial e-Workshop, we will
                  show how to use Accessors in the Browser, Node.js
                  and Ptolemy II.},
        URL = {http://terraswarm.org/pubs/731.html}
    }
    

Posted by Elizabeth Coyne on 4 Feb 2016.
Groups: pw

Notice: This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders. All persons copying this information are expected to adhere to the terms and constraints invoked by each author's copyright.