drupflare/worker - v1.0.4
    Preparing search index...

    Module ops/replica-routing

    Which object answers a request, once a site has more than one.

    The primary is lane 0, so replicas = 0 is a modulus of 1 rather than a branch in the caller. Lanes are chosen by affinity: a shared counter measured a flat scaling curve on the rig, per-client pinning 1.00 / 1.80 / 2.14.

    RoutingDecision
    DEFAULT_REPLICA_LAG_MS
    LANES_EPOCH_HEADER
    LANES_HEADER
    LANES_TRUST_MS
    REPLICA_HEADER
    affinityKey
    believedLanes
    chooseTarget
    formatLanesPointer
    lanesKvKey
    originationRoute
    parseLanesPointer
    rememberLanes
    replicaCount
    replicaLagMs
    replicaName
    replicaOf
    resetLaneBeliefs
    shouldFailover