Bruno Pedro's public notes

Found at “Claim-Check pattern - Cloud Design Patterns | Microsoft Docs” on 2022-02-22 18:08:53.

Claim-check design pattern #

Split a large message into a claim check and a payload. Send the claim check to the messaging platform and store the payload to an external service. This pattern allows large messages to be processed, while protecting the message bus and the client from being overwhelmed or slowed down. This pattern also helps to reduce costs, as storage is usually cheaper than resource units used by the messaging platform.

The claim-check design pattern can be useful in the following scenarios:

flowchart LR
C[Caller] --> |claim ID|R[Receiver]
C --> |payload|D[(Data store)]
D --> |payload|R