Disable affinity in Azure's Load Balancer for Cloud Services (Web/Worker roles) -
i'm seeing definite non-round-robin load-balancing pattern in azure's load balancer cloud role. of requests going 1st instance of two-instance of web-api worker role setup.
how can ensure azure's lb distributes requests equally?
note first screenshot cloudmonix's dashboard contains cpu utilization 1st instance (60-65% sustained average) , 2nd screenshot contains cpu utilization 2nd instance (2-5% sustained average) consistent across many different times i've looked this.
both of instances same, listen many http requests , process them.
there way of configuring loadbalancerdistribution cloud service in .csdef file. flaw documentation updates :-(
please @ article: https://azure.microsoft.com/en-us/blog/azure-load-balancer-new-distribution-mode/
the value of loadbalancerdistribution can sourceip 2-tuple affinity, sourceipprotocol 3-tuple affinity or none (for no affinity. i.e. 5-tuple)
i'll in getting schema article updated reflect this.
as load distribution - if have not chosen 2- or 3-tuple algorithm, should running 5-tuple.
you can use https://resources.azure.com @ current configuration.
i know cpu reflection of load, load balancer balances based on network sessions, please ensure cpu load , distribution of network sessions correlate. in situation surprised if not - reminder.
please @ article ensure not running keep-alives: extremely uneven cloud service load-balancing azure
Comments
Post a Comment