Demo application available at https://github.com/hiteshBhatia/vertx-imagetransformation.git
It includes inroduction to VERTX, key advantages and concepts, internals and demos. It begins with an introduction to VERTX section which includes an introduction to VERTX and its features. It also includes reasons of using VertX. Following is a section on key advantages and concepts. It includes advantages of using VertX like nature, scalability etc. It also includes key concepts like verticle, event bus, event loop, worker thread, module and how VertX works on these concepts.
In addition to this, there is a section on internals and demos which includes open source projects, demo applications, architecture of these demo applications in form of producer, queue, consumers, workers, event bus. The last section of the tutorial covers up a summary section. It includes a brief summary of VertX and pointers to look something forward to like integration, language support, creation of modules etc.
7. Verticle
Unitof deployment
Could be a Java class with a main method
or a groovy script
Verticle1 Verticle2
Vert.x
Instance
Verticle1 Verticle2
Verticle runsinside a Vertxinstance, which runsinside its
own JVM instance.
9. Executeshandlerssynchronously on a single thread
Managed by vert.xinstance
Or long running
EventLoop
Verticle1 Verticle2
Vert.x
Instance
Event
Loop
EVENTBUS
10
Verticle1 Verticle2
11. Reuseable
Can be implemented in any language
Communicates via EventBus Only
Module can also be of type worker
Verticle1 Verticle2
Vert.x
Instance
Worker
Thread
Pool
Module
EVENTBUS
Verticle1 Verticle2 Worker
Event
Loop
Modules
14. Vert.xusesthefollowingopen source projects
Elasticsearch: Big Data
Search Simplified
OPEN
SOURCE
PROJECTS
JRuby forits
Rubyengine
Nettyfor much
of its network
IO
Groovy Mozilla Rhino forits
JavaScriptengine
Jython for its
Pythonengine
Hazelcast forgroup
management of
clustermembers
INTERNALSVert.X
16. Elasticsearch: Big Data
Search SimplifiedWorker.groovy Worker.rb Worker.py
Applies
blureffect
AppliesSepia
effect
Applies
pixelateeffect
PUSHESTASKS
TOQUEUEvia
EventBus
Producer
(Groovy)
Queue
(Groovy)
Consumer
(Groovy)
LISTENSTO
QUEUEviaEvent
Bus
UsesVert.x
Mod
UsesVert.x
Mod
Assigns
Work
• CONSUMER (STARTSTHREEWORKERVERTICLES)
• ASSIGNSWORKTOWORKERVERTICLES
EVENTBUS
Vert.X Demo Application Architecture
17. Elasticsearch: Big Data
Search Simplified
Producer
(Groovy)
UsesVert.x
Mod
EVENTBUS
Writteningroovy
Pushestasks to queue
Runsas a partof a cluster
PRODUCER
Vert.X Demo Application Architecture
24. THANKYOU!
Contact us
Our Office
Client Location
Here’s how TOTHENEW
seamlessly migrates an
application to GRAILS and
keeps it updated for your
customers.
Click Here To Know More!
Have more queries on
Grails? Talk to our
GRAILS experts Now!
Talk To Our Experts