← Table of Contents · Page 459 of 868

ORCHESTRATION PATTERNS

Part 11 of 11

CHECK YOUR UNDERSTANDING • What is the main weakness of the Supervisor pattern? ◦ Answer: The supervisor can become a bottleneck and single point of failure, since all work and results flow through it. • Why can a Pipeline spread mistakes? ◦ Answer: Each stage trusts the previous stage's output, so an early error is inherited by every later stage. • What does it mean that a Blackboard is reactive? ◦ Answer: Changes to the shared workspace can trigger agents to act, so agents contribute when they notice something relevant rather than being called in a set order. • Which pattern suits a highly dynamic, unpredictable workload, and what do you give up? ◦ Answer: The Swarm suits it, and you give up central visibility and control, so you need careful logging and per-agent limits. • Which pattern would you pick for a workflow that is identical every time? ◦ Answer: A Pipeline, because it is the simplest and most predictable.
Advertisement
Read Aloud:
0:00 / 0:00