I am postponing this, as I think this not very important right now and should not block us for next release.
Just to summarize what this issue is about:
By default, Play listens to an address + port, like http://localhost:9000
Java 16+ now supports Unix-Domain Socket, so what Netty implemented is that Netty does listen not on a address/port via TCP, but can create a socket instead and use that for http communication (And btw. Windows 10+ also supports such sockets now). A socket is just a file (like everything in Unix they say ;).
And the news in Netty 4.1.110 is that this was implemented as part of the Java NIO transport (when not using the native or io_uring transport). To be honest I was a bit confused when I first read the release notes, because I thought this is somehow a replacement for the native transports (actually the native transport do support Unix Domain Sockets already, so now the NIO transports just catches up).
Communcating via a socket instead of going throught the TCP stack should improve performance and is not limited, since you can create many sockets, but ports are limited. Also, you can manage the sockets with normal file and owner permssions since it's just a file. Also, I read that "reverse proxy setups commonly make use of unix sockets, to avoid wasting TCP ports and for lower resource use/better performance" (could not say it better ;) So... e.g. nginx provides a ngx_http_upstream_module, which allows nginx to communicate with a backend via a socket, while listening to a address/port to the outside world. Actually it would be nice if Play could support that... Here are examples also for it:
Just to note, you can use curl to communicate with a socket that talks http: curl -v --unix-socket /path/to/socket http://myurl/some/path.
Firefox and Chromium do not support that:
Also there is an ongoing discussion (even if it's closed) about naming scheme (did not read all of that yet ;):
Stopping now, I guess its understandable what this is about. I started to stupidly play around in