Fan-Out and Combining Results

Fan-out sends work to several recipients. A combining step defines how their results form one observation for the caller.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace a partitioned search
  2. Define missing partitions
  3. Choose how a missing component changes the combined result
  4. Test completeness and meaning independently from speed

Trace a partitioned search

A query may request matches from three collections and merge their individually ordered results. Every collection's total can contribute to a combined count. See merging sorted sequences.

Define missing partitions

If one collection fails, a complete result may be unavailable. Clearly mark partial results when returned and identify the corresponding source. Partial failure covers this design choice.[1]

Choose how a missing component changes the combined result

A report fetches stock count, price and a descriptive label in separate calls. The first two can be essential while the label is optional. When one call fails, an aggregation rule determines whether any partial report can be shown. See latency across independent requests.

Stock ready, price ready, label missing → partial report if documented
Price missing → report unavailable if required
Record each dependency outcome explicitly

Test completeness and meaning independently from speed

Parallel execution changes time and failure ordering. It should not silently change required fields. Test each missing component and verify that optional omissions have an explicit presentation.

References

  1. Google, Site Reliability Engineering ↩