jeudi 11 février 2021

Searching for design pattern to handle multiple requests in pipeline

I'm searching for a design pattern for a specific pipeline process. The service gets multiple requests that pass in pipeline, when each stage process all the requests at once and return the requests that fail in that stage. In each stage every one of the requests can fail and end it's way in that stage, but I want all the other requests that pass to continue to the next stage.

The final result will be:

  1. The requests that pass all the stages.
  2. The requests that fail in one of the stages, with the cause.

Aucun commentaire:

Enregistrer un commentaire