Vert.x
-
Upload
diego-pacheco -
Category
Technology
-
view
302 -
download
8
description
Transcript of Vert.x
@diego_pacheco
Software Architect | Agile Coach
Tim Fox
Performance
http://blog.arungupta.me/2014/02/undertow-benchmarks-wildfly/
No Messaging(MOM), No Container!
Based on JBoss Netty
Similar to Node.JS but is not the same!
Main Architecture
Event Loop
Polyglot
Async APIs
• Http• Websockets• SockJS• FS• Event Bus• DNS• UDP• TCP/SSQL
It`s all about Verticles
• Execution Unit• Single Threaded – Less scope for race conditions• Verticles communicate by message passing• Similar to actor model but is different
The Nervous System is the: Event Bus
• Verticles can send message over the event bus• Models: Point 2 point, Pub/Sub, Request/Response• Several Data types: String, Json, primitives, buffers• Event bus is extended to JavaScript clients as well• Cluster support (uses hazelcast)
Modules:
• MongoDB• Redis• JDBC• SMTP• Promises, RXJava and several others…
FAT Jars Deploy!
Some Code:
Event Bus: Async
@diego_pacheco
Software Architect | Agile Coach
Obrigado!
Thank You!