Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GPars Remoting

GPars Remoting

Slides from my Greach 2015 session on the "new" remote object features of the GPars framework

Russel Winder

April 10, 2015
Tweet

More Decks by Russel Winder

Other Decks in Technology

Transcript

  1. Copyright © 2014–2015 Russel Winder 12 Thanks to GSoC 2014,

    Rafał Sławik built on a partial implementation by Alex Tkachman.
  2. Copyright © 2014–2015 Russel Winder 14 GPars already has single

    JVM concurrency and parallelism. You can use it from Java as well as Groovy.
  3. Copyright © 2014–2015 Russel Winder 16 Actors Independent processes communicating

    via asynchronous exchange of messages. Dataflow Operators connected by channels with activity triggered by arrival of data on the channels. Data Parallelism Transform a sequence to another sequence where all individual actions happen at the same time. CSP Operators connected by channels with activity triggered by arrival of data on the channels.
  4. Copyright © 2014–2015 Russel Winder 17 Active Objects An object

    that is actually an actor but looks like a full service object. Agents A wrapper for some shared mutable state. Software Transactional Memory Wrappers for mutable values that uses transactions rather than locks. Fork/Join An toolkit for tree structured concurrency and parallelism.
  5. Copyright © 2014–2015 Russel Winder 18 Actors Independent processes communicating

    via asynchronous exchange of messages. Dataflow Operators connected by channels with activity triggered by arrival of data on the channels. Data Parallelism Transform a sequence to another sequence where all individual actions happen at the same time. CSP Operators connected by channels with activity triggered by arrival of data on the channels.
  6. Copyright © 2014–2015 Russel Winder 19 Data Parallelism Transform a

    sequence to another sequence where all individual actions happen at the same time.
  7. Copyright © 2014–2015 Russel Winder 20 Dataflow Operators connected by

    channels with activity triggered by arrival of data on the channels.
  8. Copyright © 2014–2015 Russel Winder 25 Actors Independent processes communicating

    via asynchronous exchange of messages. Dataflow Operators connected by channels with activity triggered by arrival of data on the channels. Data Parallelism Transform a sequence to another sequence where all individual actions happen at the same time. CSP Operators connected by channels with activity triggered by arrival of data on the channels.
  9. Copyright © 2014–2015 Russel Winder 26 But isn't this just

    clustering, and isn't this standard stuff?