Event-Driven Pipeline - CI/CD用語集の定義
Event-Driven Pipeline: event-driven pipelineとは、固定のスケジュールやpollingループではなく、イベント(webhook、キューに入れられたメッセージ、完了した上流のjob)に応じて作業を開始するpipelineです。
event-driven pipelineとは、固定のスケジュールやpollingループではなく、イベント(webhook、キューに入れられたメッセージ、完了した上流のjob)に応じて作業を開始するpipelineです。
event-driven pipelineはpollingするのではなく反応します。triggerが到着した瞬間に作業が始まるためレイテンシが下がり、何も起きなければ何も実行されないためアイドルコストも下がります。
CIにおいて
pushのwebhookがbuildをキューに入れ、buildの完了イベントがdeployをトリガーし、deployがsmoke-testのjobをトリガーします。各ステージが次を発火させるため、pipelineは準備完了をpollingする中央のschedulerなしで前進します。
関連ガイド
Webhook - CI/CD Glossary DefinitionWebhook: A webhook is an HTTP callback that a service sends to a URL you register whenever an event happens,…
Message Queue - CI/CD Glossary DefinitionMessage Queue: A message queue is a buffer that holds messages between a producer and a consumer, decoupling…
Event Bus - CI/CD Glossary DefinitionEvent Bus: An event bus is a central channel that routes events from producers to interested consumers, formi…