これまではUnix系OSの話でした。 Windowsでは、ストリーム型のUnixドメインソケットに近い使い方ができる仕組みとして、名前付きパイプというものがあります。 なお、名前付きパイプという概念はUnixにもありますが、ややこしいことにWindowsとは意味が違う ...
TCP、UDP よりもイメージのつきにくい Unixドメインソケットについて簡単にまとめる。 TCP、UDP などの接続先が同一ホスト内のプロセスと通信を行うイメージ。外部の通信ではなく、カーネル内でのプロセス間通信。外部の通信よりも高速。WebサーバーとNginx ...
A Node.js project demonstrating HTTP servers over Unix domain sockets and Windows named pipes. This example is designed to test Postman's Unix domain socket URL support. On Unix-like systems (macOS, ...
まとめ Unixソケットは「同じコンピュータ内に限った近道の通信方法」です。 TCPのように相手を探して電話をかける手間がなく、同じ部屋で直接会話するようにシンプルに情報をやり取りできます。 Webサーバーやデータベース接続だけでなく、Dockerの内部でも重要な役割を担っています。
Sockets provide an interface into the kernel’s networking protocols by allowing programmers to create a communication endpoint in the form of a file descriptor, and by binding a name to the file ...
A lightweight sub-millisecond p99 latency ultra high-performance non-blocking I/O io_uring and unix-domain-sockets compatible HTTP1/2/3 server module with easy TLS integration support. Multi-protocol ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する