skip to content

part 11 · sources checked 2026-11-22

the target as configuration

This module holds each target as one versioned object, and shows how a collector reads that object to route, stop, and share its work.

purpose

Each decision about one site can live in a different place, for example a pace in one file and an extractor version in the code. The module joins these decisions into one target profile, with a review, a test, and a way back for each change.

Then you build the parts that read the target profile at run time, for example a politeness budget that all users of one site share.

objectives

  1. Write a schema for the target profile of a target. Add a validator that refuses an empty field and an unknown value.
  2. Keep the target profiles in a versioned profile store with a review, a validation, and a test against recorded pages.
  3. Release a change to a target profile through a shadow run, a comparison, a promotion, and a rollback. Record each step.
  4. Build a method router that selects the cheapest method above the success floor. Record the cost of each fallback.
  5. Operate a health score and a circuit breaker for each target, with thresholds that tests prove.
  6. Set one politeness budget and one pool heat budget for a shared target. Divide them by a fair-share rule.
  7. State what the defender sees when a new version, a fallback, or a circuit breaker changes the traffic.

lessons

5 of 6 published

a dim title is not yet published

  1. L01 the target profile
  2. L02 the profile store
  3. L03 roll out a profile change
  4. L04 the router and the fallback chain (not yet published)
  5. L05 the health score and the circuit breaker for each target
  6. L06 one target and many tenants