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