TCP Handshake - CI/CD用語集の定義
TCPハンドシェイクは、データ送信前に信頼できる接続を確立する3ウェイのやり取り(SYN → SYN-ACK → ACK)です。そのラウンドトリップのコストこそが、CIの高速なネットワーク呼び出しでconnection poolingとkeep-aliveが重要になる理由です。
CIにおいて
新しいdependencyのダウンロードやregistryのpullのたびにハンドシェイクのコストを払います。keep-aliveで接続を再利用すると、そのリクエストごとのレイテンシを規模を問わず取り除けます。
関連ガイド
TLS Handshake - CI/CD Glossary DefinitionA TLS handshake negotiates the cipher and exchanges keys to secure a connection after TCP connects, adding ro…
HTTP Keep-Alive - CI/CD Glossary DefinitionHTTP keep-alive reuses one TCP connection for multiple requests instead of reconnecting each time, removing h…
Connection Pool - CI/CD Glossary DefinitionA connection pool keeps open connections ready to reuse, so callers borrow one instead of paying handshake co…