Was just double checking on this and found a SO answer with some benchmarks. It seems UDS are indeed more performant for local comms so support for this in the future will likely be desirable.
One handy thing to note is that if we end up having firstish class support for nng the we get this for free if using the IPC transport.
trio has a client-side API: https://trio.readthedocs.io/en/stable/reference-io.html#trio.open_unix_socket
Was just double checking on this and found a SO answer with some benchmarks. It seems UDS are indeed more performant for local comms so support for this in the future will likely be desirable.
One handy thing to note is that if we end up having firstish class support for
nngthe we get this for free if using the IPC transport.triohas a client-side API: https://trio.readthedocs.io/en/stable/reference-io.html#trio.open_unix_socket