Skip to content

logic for volume based routing #3040

Answered by vspecky
euluizaraujo asked this question in Q&A
Discussion options

You must be logged in to vote

@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 a 70% chance of picking Stripe, and a 30% 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.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@euluizaraujo
Comment options

@vspecky
Comment options

vspecky Dec 6, 2023
Collaborator

@euluizaraujo
Comment options

@vspecky
Comment options

vspecky Dec 15, 2023
Collaborator

Answer selected by manojradhakrishnan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants