There's just a flag to turn it on when setting up the http server. I tried it. It seems to work. The response body was slightly smaller than http/1.1 somehow. I really dislike apache, and I really do like vertx. I've written quite a few things with vertx and it's very nice. Even though we're probably stuck using a blocking handler, there's still a lot of nice features we can pick up by using it... so I built this.

At some point I'll probably try to make a vertx based EOAdaptor for Postgresql too, but I don't know if the WO api can handle the non-blocking bit, which would be the only reason to build that. If possible however, that could allow us to confidently use a non-blocking handler in the WOAdaptor.

On 12/26/25 12:28 AM, Michael Kondratov wrote:
that’s awesome ! Will give it a try . How does http2 function ?
Sent from my iPhone

On Dec 24, 2025, at 05:08, Ramsey Gurley <[email protected]> wrote:


Tis the season of gift giving. So I wrote a new WOAdaptor over the weekend 
based on Eclipse vert.x. I've pushed it out to the wonder8 branch of project 
wonder if anyone would like to play with a new toy.

Dependency-wise, it doesn't actually depend on Project Wonder, only the new 
modular webobjects jars. Which means the code should probably work even with a 
vanilla WO app.

It features WebSocket messages over NSNotificationCenter, HTTP/2, always on 
TLS. You can point it to your Acme certbot directory with a property, or it 
will generate self signed certs for development in your /tmp/ directory. It 
also has brotli and zstandard compression as well as good ol' gzip and deflate.

It's built so that you can drop it into a wo project as a dependency, it wires 
itself up for you, and with no fuss, have a much improved WOAdaptor for your 
applications. In my limited testing, it seems to work okay. With brotli over 
HTTP/2, my hello world dropped from 32Kb to under 10, which is even better than 
the 13 I could get from gzip.

I haven't tried anything too crazy with it. I want to try a file upload to see 
how that goes, since I heard someone had issues with the old ERWOAdaptor 
duplicating those. I'd like to build a simple websocket ping-pong to make sure 
that's working as expected. But there's no reason to sit on it, especially 
since some of you may have some free time to play with it over the holidays.

Season's greetings,

Ramsey

Reply via email to