Tags
Tags create lanes. For example, an action tagged{"region": "eu"} and an action tagged {"region": "us"} dispatch through different lanes of the same destination. An action with no tags dispatches through the destination’s default lane.
Tags come from:
- The ingress body’s
tagsfield. tag.<key>query parameters on ingress.- A rule with the Assign Tags effect.
Isolation
Lanes adjust independently. A tenant overwhelming the{"customer": "acme"} lane has no effect on the limits of {"customer": "initech"}. Tag by dimensions that separate failure domains, such as tenant or region.
Limits
Each lane carries two limits:- Running limit: the number of deliveries in flight.
- Unsettled limit: the number of deliveries awaiting settlement.
Caps
A cap pins a lane below what it would otherwise run at. The lanes API accepts a running cap and an unsettled cap, and the engine treats each as a ceiling. A running cap of0 pauses the lane.
Cardinality
Tags are for dimensions with a small set of values. An action definition can spread across a maximum of 1000 lanes. Ingress rejects work that would create more withTAG_CARDINALITY_EXCEEDED.