logic for volume based routing #3040
-
Hello, could you explain the distribution logic of volume-based routing? How does the algorithm logic for percentage distribution work? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@euluizaraujo For volume-based routing we sample from a weighted distribution (where the weights are the percentage volume for each connector) to decide the connector. So basically if your distribution is |
Beta Was this translation helpful? Give feedback.
@euluizaraujo For volume-based routing we sample from a weighted distribution (where the weights are the percentage volume for each connector) to decide the connector. So basically if your distribution is
70% Stripe, 30% Adyen
, the algorithm has a70%
chance of picking Stripe, and a30%
change of picking Adyen when invoked. i.e. the selection is ad-hoc and not dependent on any previous selection. As a result, you will most probably observe some skew in the connector choice of your transactions with a small volume of transactions, but the skew will eventually resolve itself as the number of your transactions grows under a particular volume-based routing scheme.