Vert.x
Last updated
Was this helpful?
Last updated
Was this helpful?
Eclipse Vert.x is event driven _and _non blocking. This means your app can handle a lot of concurrency using a small number of kernel threads. Vert.x lets your app scale with minimal hardware. --
Vert.x is an entire toolkit and ecosystem of pluggable modules on top of Netty for building reactive applications on top of the JVM.
Issues with threads that Vert.x with Netty solved: A large block of memory has to be allocated and initialized for the thread stack. System calls need to be made to register the native thread with the host OS. Descriptors needs to be created, initialized and added to JVM internal data structures.
Here are for Vert.x, but lets create hello world app as HTTP server.
Lets create a project in Gradle.
Then we can create runnable class that starts up the server.
When start the server and execute HTTP request, we get this.