async-bulkhead-llm - v3.19.1
    Preparing search index...

    Type Alias LLMAdmissionClassLimits

    Protected floors and hard ceilings for one statically configured admission class.

    Admission classes are intentionally bounded at construction time. A gateway should map trusted tenant/application identity to one of these policy-class IDs rather than using arbitrary tenant IDs directly.

    Protected capacity is reserved before shared capacity is lent to requests above their class floor. When a floor grows, new borrowing pauses until the protected capacity is restored. Existing work is left to finish by itself unless the snapshot opts in to stop.takeBackGraceMs (v3.18). Omitted ceilings inherit the enclosing bulkhead's global ceiling. Class limits are fail-fast and do not create a separate per-class queue.

    type LLMAdmissionClassLimits = {
        maxConcurrent?: number;
        maxInFlightTokens?: number;
        protectedConcurrent?: number;
        protectedInFlightTokens?: number;
    }
    Index
    maxConcurrent?: number

    Maximum requests from this class that may be in flight.

    maxInFlightTokens?: number

    Maximum tokens from this class that may be held in flight.

    protectedConcurrent?: number

    Requests reserved for this class before shared concurrency is lent.

    protectedInFlightTokens?: number

    Tokens reserved for this class before shared token capacity is lent.