ALB 侦听器优先级评估的延迟是多少

What's the latency of the ALB Listener priority evaluation

我设置应用程序的方式是:

1 个具有 2 个侦听器 HTTP 和 HTTPS 的应用程序负载均衡器。

对于这两个听众,我都为每个听众设置了指向目标组的 Listener Rule

每个目标组都是它自己的应用程序并有自己的域,我在监听器(主机头)中将其用作 Rule condition 进行转发。

我的问题是,因为 Listener Rules 必须具有唯一的 priority

考虑到我有 100 个指向具有不同域的不同目标组的侦听器规则,服务器响应是否会有任何明显的延迟?

我担心,比方说,第 100 条侦听器规则会导致它转发流量的目标组性能下降

来自 AWS 支持:

Hi, Thank you for reaching out to AWS Support. My name is Kriti and I will be assisting you with your case today.

As I understand, you have an ELB with both HTTP and HTTPS listeners. You want to confirm whether or not different multiple listener rules will create any significant latency because of their priorities.

I can see that you have 2 listeners with 2 custom listener rules for each of your listeners in the ALB: DevBaseALB1-xxxxxxxx.us-east-1.elb.amazonaws.com I tried to replicate your concern by setting up multiple listener rules pointing to different target groups in an Application Load Balancer. All the rules had different priorities as you rightly mentioned. From my findings, I could confirm that any differences in latency observed for different listener rules with different priorities is negligible (in milliseconds) and should have no significant impact on your applications. Please note that limit for rules per load balancer (not counting default rules) is 100 [1]

I hope this information was helpful and I was able to resolve your query. Please feel free to reach out to us again in case you face any further issues. We will be happy to help.

Links: 1. http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html

Best regards,

Kriti B. Amazon Web Services