GPars 2014

Post on 12-Jul-2015

285 views 1 download

Tags:

Transcript of GPars 2014

Copyright © 2014 Russel Winder 1

GPars 2014

Dr Russel Winderrussel@winder.org.uk

@russel_winderhttp://www.russel.org.uk

Copyright © 2014 Russel Winder 2

This is a sales pitch…

Copyright © 2014 Russel Winder 3

This is a sales pitch…✘

Copyright © 2014 Russel Winder 4

This is a sales pitch…

Copyright © 2014 Russel Winder 5

This is breaking news…

Copyright © 2014 Russel Winder 6

It's new…

Copyright © 2014 Russel Winder 7

It's improved…

Copyright © 2014 Russel Winder 8

It's…

Copyright © 2014 Russel Winder 9

Copyright © 2014 Russel Winder 10

Thanks to GSoC 2014,

Rafał Sławik

built on a partial implementation by

Alex Tkachman.

Copyright © 2014 Russel Winder 11

Remote Objects

Copyright © 2014 Russel Winder 12

GPars already has single JVM

concurrency and parallelism.

You can use it from Javaas well as Groovy.

Copyright © 2014 Russel Winder 13

GPars now has remote objects.

Realized by using Netty.

Copyright © 2014 Russel Winder 14

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 Russel Winder 15

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 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 Russel Winder 17

Data ParallelismTransform a sequence to another sequence where all individual actions happen at the same time.

Copyright © 2014 Russel Winder 18

DataflowOperators connected by channels with activity triggered by arrival of data on the channels.

Copyright © 2014 Russel Winder 19

CSPSequential processes communicating by sending messages on channels.

Copyright © 2014 Russel Winder 20

ActorsIndependent processes communicating via asynchronous exchange of messages.

Copyright © 2014 Russel Winder 21

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 Russel Winder 22

Copyright © 2014 Russel Winder 23

Copyright © 2014 Russel Winder 24

Copyright © 2014 Russel Winder 25

Hadoop

Copyright © 2014 Russel Winder 26

Copyright © 2014 Russel Winder 27

Copyright © 2014 Russel Winder 28

Service Oriented Architecture

Copyright © 2014 Russel Winder 29

Services

Copyright © 2014 Russel Winder 30

Micro-Services

Copyright © 2014 Russel Winder 31

Pico-Services

Copyright © 2014 Russel Winder 32

No HTTP, Web, port 80, HTML, CSS..

Copyright © 2014 Russel Winder 33

Copyright © 2014 Russel Winder 34

GPars

Dr Russel Winderrussel@winder.org.uk

@russel_winderhttp://www.russel.org.uk