Polling - CI/CD用語集の定義
Polling: pollingとは、webhookで通知を受けるのとは対照的に、何かが変わったかどうかを固定間隔でサービスに繰り返し尋ねることです。
pollingとは、webhookで通知を受けるのとは対照的に、何かが変わったかどうかを固定間隔でサービスに繰り返し尋ねることです。
pollingはレイテンシと無駄なリクエストと引き換えに単純さを得ます。公開エンドポイントは不要ですが、変化を知るのは確認する頻度の分だけです。
CIにおいて
60秒ごとにAPIをpollingするCIエージェントは、buildごとに最大60秒のレイテンシを加え、何も変わっていなくてもAPIのrate limitを消費します。receiverをホストできる場所では、webhookが両方の問題を取り除きます。
関連ガイド
Long Polling - CI/CD Glossary DefinitionLong Polling: Long polling is a technique where the client sends a request that the server holds open until a…
Webhook - CI/CD Glossary DefinitionWebhook: A webhook is an HTTP callback that a service sends to a URL you register whenever an event happens,…
API Rate Limit - CI/CD Glossary DefinitionAPI Rate Limit: An API rate limit caps how many requests a client may make in a time window; exceeding it ret…