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
- Write a schema for the target profile of a target. Add a validator that refuses an empty field and an unknown value.
- Keep the target profiles in a versioned profile store with a review, a validation, and a test against recorded pages.
- Release a change to a target profile through a shadow run, a comparison, a promotion, and a rollback. Record each step.
- Build a method router that selects the cheapest method above the success floor. Record the cost of each fallback.
- Operate a health score and a circuit breaker for each target, with thresholds that tests prove.
- Set one politeness budget and one pool heat budget for a shared target. Divide them by a fair-share rule.
- 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
- L01 the target profile
- L02 the profile store
- L03 roll out a profile change
- L04 the router and the fallback chain (not yet published)
- L05 the health score and the circuit breaker for each target
- L06 one target and many tenants