We would like to inquire if it is possible to dynamically route traffic to 2 different VS based on the TPS it is receiving.
Basically 2 sources will initially go to 1 VS, then if a certain TPS threshold is reached, the traffic will be redirected to the other VS. Is this possible? via iRule maybe?
You can configure and point users to an intermediary VS with an associated pool containing two members: your two mentioned VS. In these two VS, configure your connection limit or connection rate limit as per your requirement. If you want an active/backup scenario for your two VS you need to configure also priority group in the pool.
@teemo_13 definitely what @Amine_Kadimi said. Another option is if you have a BIG-IP DNS license you can use health monitors on it to respond with specific destinations based on information it receives from that health monitor but it definitely wont be as responsive to connection limits as the virtual server option would be.
Yes, three VS all on the same device. The first is called the intermediary VS and it's the one facing your customers and which is load balancing to your two others called internal VS, those two can have any IP address even from a subnet not in your network, I usually use 203.0.113.0/24.