1@marioggar
GPARS WORKSHOP
(Mario Garcia)
2@marioggar
Who am I ?
● Software engineer at Kaleidos.net● Groovy enthusiast● Dublin GUG & Madrid GUG
desmontandojava.blogspot.com
@marioggar
https://github.com/mariogarcia
#FF9900
Mario García
3@marioggar
WHAT IS A WORKSHOP ?
4@marioggar
What is a workshop ?
● You are here to start learning how to use the tool/library
● You should ask whenever you don't understand something
5@marioggar
What is a workshop ?
● You are here to have fun
6@marioggar
What's GPars
● An open-source concurrency and parallelism library for Java and Groovy
● Version 1.1.0 ● It comes out-of-the-box with Groovy
7@marioggar
GPars
● Chose your abstraction for any particular problem– Fork/Join
– Async execution
– Actors
– Agents
– Dataflows
– ...
8@marioggar
The plan
● First hour– Introduction
– Parallel Collections
– Asynchronous Ex.
– Speculations
● Second hour– Dataflow
– Actors
9@marioggar
What will you need
http://gpars.org/1.1.0/guide/guide/introduction.html
https://github.com/mariogarcia/greach_2014
GPARS DOCUMENTATION
EXAMPLES
10@marioggar
LETS
11@marioggar
Parallel Collections
12@marioggar
Asynchronous Closures
13@marioggar
Speculations(And go grab some caffeine)
14@marioggar
Agents
15@marioggar
Dataflows
16@marioggar
Actors