Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Eclipse Vert.x at BruJUG 2019
Julien Ponge
June 19, 2019
Programming
0
140
Eclipse Vert.x at BruJUG 2019
Julien Ponge
June 19, 2019
Tweet
Share
More Decks by Julien Ponge
See All by Julien Ponge
jponge
0
110
jponge
0
230
jponge
0
140
jponge
0
100
jponge
0
180
jponge
0
180
jponge
0
160
jponge
0
190
jponge
0
120
Other Decks in Programming
See All in Programming
dnskimo
7
1.4k
mrtc0
1
160
timeseriesfr
0
120
manfredsteyer
PRO
1
110
minodriven
37
28k
sysrich
0
250
marcoow
0
160
seike460
8
2.2k
kidokidofire
1
110
hkusu
0
280
yasuakiomokawa
0
610
adarapata
1
470
Featured
See All Featured
bryan
99
11k
62gerente
586
200k
jmmastey
10
700
danielanewman
2
560
rocio
155
11k
lara
590
61k
caitiem20
311
17k
kastner
54
2k
jonyablonski
21
1.3k
pauljervisheath
195
15k
searls
204
37k
skipperchong
8
790
Transcript
Julien Ponge @jponge Principal Software Engineer, PhD
Reactive? (because resources are scarce)
None
Application
Reactive systems Reactive streams Reactive programming Reactive “Responding to stimuli”
Manifesto, Actor, Messages Resilience, Elasticity, Scalability, Asynchronous, non-blocking Data flow Back-pressure Non-blocking Data flow Events, Observable Spreadsheets Akka, Vert.x Akka Streams, RxJava, Reactor, Vert.x Reactor, Reactive Spring, RxJava, Vert.x
while (isRunning) { String line = bufferedReader.readLine(); switch (line.substring(0, 4))
{ case "ECHO": bufferedWriter.write(line); break // ... // other cases ( ...) // ... default: bufferedWriter.write("UNKW Unknown command"); } }
x 1000 =
Virtual machines, Containers, etc
None
(demo)
Vert.x? (async all the things!)
mtpvertx 40% (all Manning)
Eclipse Vert.x Open source project started in 2012 Eclipse /
Apache licensing A toolkit for building reactive applications for the JVM ~10k ⋆ on Built on top of https://vertx.io @vertx_project
Http server verticle Database client verticle Event Bus “Details
for user 1234?” “{data}” 4 instances 1 instance
Events Thread Event Loop
Callbacks RxJava 1 + 2 Quasar (vertx-sync) Kotlin coroutines (core)
(codegen) CompletionStage
None
(demo time) APIs with Mongo Edge service with RxJava2 Event
streaming with Kafka + web “Connected tires / IoT”
Outro
Unified end-to-end reactive model + ecosystem (not just APIs…) For
all kinds of distributed applications (even the small-scale ones) Flexible toolkit, not a framework (your needs, your call)
Asynchronous programming
Single threaded event processors vs multi-threaded components
Do you really need these anaemic POJOs / DTOs?
Not everything has to be annotations!
Powered by and more!
mtpvertx 40% (all Manning)