3 ms·
Sorry, what's brawndo? (Searching only gives me movie results?) We started out discussing AF_UNIX vs. AF_INET6. If you can conceptually use something faster th
by eqvinox 2y ago
Sorry, what's brawndo? (Searching only gives me movie results?)
We started out discussing AF_UNIX vs. AF_INET6. If you can conceptually use something faster than sockets that's great, but if you're down to a socket, unix domain will generally beat inet domain...
- exe34 2y agoit's what plants crave! it's got electrolytes.
- sgtnoodle 2y agoYou can do some pretty crazy stuff with pipes, if you want to do better than unix sockets.
- zbentley 2y agoSure, but setting up a piped session with a pre-existing sidecar daemon can be complicated. You either end up using named pipes (badly behaved clients can mess up other clients’ connections, one side has to do weird filesystem polling/watching for its accept(2) equivalent), or unnamed pipes via a Unix socket with fdpass (which needs careful handling to not mess up, and you’re using a Unix socket anyway, so why not use it for data instead?).