I have an application with a classic load balancer in front of it. Whenever we change the DNS(which points to load balancer) to a new load balancer(and hence new environment), the traffic from clients take huge amount of time to migrate to new environment.
I investigated and found that the clients are having a persistent connections with load balancers. I looked up into settings of AWS ELB and did not find anything for the connections between client and ELB. I am looking for something like maxKeepAliveRequests which would essentially means that after every ${maxKeepAliveRequests} requests the client has to reconnect freshly.
I see tomcat supporting configurations like this. Not sure what are my options with load balancers.