Showcase for http2 Vert.x server vs. standard http
Switch branches/tags
Nothing to show
Clone or download
Latest commit 981e286 Apr 27, 2017

Vert.x HTTP/2 showcase

This projects aims at showing Vert.x HTTP/2 capabilities.

To run the project, simply run ./gradlew run from the project's root directory, then point your browser at http://localhost:8080 to get started.

Two HTTP servers are running:

They both are running the exact same code, the only difference is that the second one has been declared with a specific option : setUseAlpn(true).

By default, when running on your local machine, a latency of 100ms is arbitrarily simulated. So that you can figure out the difference it makes in a real-life environment. You can change the latency by clicking on the links on the right of the image, or by adding a query parameter named latency to the page's URL.

e.g. http://localhost:8080/image.hbs?latency=999

The project uses :

Licensed under Apache 2.0 license

Any contribution is welcome.