Unix domain socket
https://en.wikipedia.org/wiki/Unix_domain_socket
.It is also referred to by its address family AF_UNIX. Valid socket types in the UNIX domain are:
SOCK_STREAM (compare to TCP) – for a stream-oriented socket
SOCK_DGRAM (compare to UDP) – for a datagram-oriented socket that preserves message boundaries (as on most UNIX implementations, UNIX domain datagram sockets are always reliable and don't reorder datagrams)
SOCK_SEQPACKET (compare to SCTP) – for a sequenced-packet socket that is connection-oriented, preserves message boundaries, and delivers messages in the order that they were sent
全ての通信はOSのkernel内部で行われる
Processes reference Unix domain sockets as file system inodes, so two processes can communicate by opening the same socket.
https://ja.wikipedia.org/wiki/UNIXドメインソケット
単一マシン上の高効率なプロセス間通信に用いられる機能・インタフェース
コミュニケーションは、完全にオペレーティングシステムのカーネル内で発生する
プロセスは、sendmsg()およびrecvmsg()システムコールを使用してUNIXドメインソケット接続を経由してファイル記述子を送信することができる
https://qiita.com/toshihirock/items/b643ed0edd30e6fd1f14
同じホストでのプロセス間通信で使われる
cf. ソケット通信(INETドメインソケット通信)は異なるホスト
nginxなどがサポートしている
https://www.otsuka-shokai.co.jp/words/unix-domain-socket.html