问题描述
我们早先使用了应用程序负载平衡器,因此会话的粘性一直很吸引人.最近,我们切换到了网络负载平衡,但是它不能始终如一地工作,更糟糕的是,我们在网络负载平衡器周围没有提到会话粘性.我们将目标组作为后端应用程序服务器.对于我们的用例,网络负载均衡器甚至可以选择吗?
We were using Application Load balancers earlier and session stickiness worked like a charm. Recently, we switched to the network load balancing and it's not working consistently, to make it worse we don't find any mention of session stickiness around network load balancers. We have the target groups as the backend application servers. Is network load balancer even an option for our use case?
推荐答案
我认为,在TCP级别的负载平衡器上无法实现会话粘性. ELB使用cookie来实现会话粘性,因此在TCP连接上将无法实现.
I think, session stickiness won't be possible on a TCP level load balancer. The ELB use cookies to implement session stickiness, so it won't be possible on a TCP connection.
这篇关于AWS网络负载平衡-会话粘性不一致的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!