Answer the question
In order to leave comments, you need to log in
How to implement traffic distribution by percentage (Traffic Distribution System) for large loads?
It is necessary to implement traffic distribution: When going to example.com , a redirect to landing pages should occur:
Answer the question
In order to leave comments, you need to log in
In nginx, you can make upstream to several nodes and set weights.
After changing the weights, you can simply reload the config.
If the problem is specifically in the distribution by percentage of parallel requests, then as a variant of memcache increment, it also contains a pre-calculated list of urls, for your case this (you can mix it before storing it in memory):
http://landing1
http://landing1
http://landing1
http://landing1
http://landing1
http://landing2
http://landing2
http://landing2
http://landing2
http://landing3
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question