Upload
russel-winder
View
243
Download
0
Tags:
Embed Size (px)
Citation preview
Copyright © 2014–2015 Russel Winder 1
GPars Remoting
Dr Russel [email protected]
@russel_winderhttp://www.russel.org.uk
Copyright © 2014–2015 Russel Winder 12
Thanks to GSoC 2014,
Rafał Sławik
built on a partial implementation by
Alex Tkachman.
Copyright © 2014–2015 Russel Winder 14
GPars already has single JVM
concurrency and parallelism.
You can use it from Javaas well as Groovy.
Copyright © 2014–2015 Russel Winder 16
ActorsIndependent processes communicating via asynchronous exchange of messages.
DataflowOperators connected by channels with activity triggered by arrival of data on the channels.
Data ParallelismTransform a sequence to another sequence where all individual actions happen at the same time.
CSPOperators connected by channels with activity triggered by arrival of data on the channels.
Copyright © 2014–2015 Russel Winder 17
Active ObjectsAn object that is actually an actor but looks like a full service object.
AgentsA wrapper for some shared mutable state.
Software Transactional MemoryWrappers for mutable values that uses transactions rather than locks.
Fork/JoinAn toolkit for tree structured concurrency and parallelism.
Copyright © 2014–2015 Russel Winder 18
ActorsIndependent processes communicating via asynchronous exchange of messages.
DataflowOperators connected by channels with activity triggered by arrival of data on the channels.
Data ParallelismTransform a sequence to another sequence where all individual actions happen at the same time.
CSPOperators connected by channels with activity triggered by arrival of data on the channels.
Copyright © 2014–2015 Russel Winder 19
Data ParallelismTransform a sequence to another sequence where all individual actions happen at the same time.
Copyright © 2014–2015 Russel Winder 20
DataflowOperators connected by channels with activity triggered by arrival of data on the channels.
Copyright © 2014–2015 Russel Winder 22
CSPSequential processes communicating by sending messages on channels.
Copyright © 2014–2015 Russel Winder 23
ActorsIndependent processes communicating via asynchronous exchange of messages.
Copyright © 2014–2015 Russel Winder 25
ActorsIndependent processes communicating via asynchronous exchange of messages.
DataflowOperators connected by channels with activity triggered by arrival of data on the channels.
Data ParallelismTransform a sequence to another sequence where all individual actions happen at the same time.
CSPOperators connected by channels with activity triggered by arrival of data on the channels.
Copyright © 2014–2015 Russel Winder 26
But isn't this just clustering, and
isn't this standard stuff?
Copyright © 2014–2015 Russel Winder 48
GPars Remoting
Dr Russel [email protected]
@russel_winderhttp://www.russel.org.uk