我的项目(关于angularJs)的实现方式是将单个网页应用程序部署在有两个节点的负载均衡器上,我无法找到以下问题的解决方案。
Implementation:
这里是这样的场景:(注意:同一个用户正在从client1、client2和client3登录)
Client1 -> lands and logs-in on node1 -> token1 is created
Client2 -> lands and logs-in on node2 -> token2 is created
Now suppose node1 goes down (due to some reasons),
Client3 -> lands on node2 by default -> Now,注意:由于已经在node2上为用户生成了一个令牌,并且这里的会话也是活动的,所以
问题
发布于 2018-09-06 15:37:56
我和我的开发团队进行了同样的讨论,下面是答案,以防将来有人需要它。
https://stackoverflow.com/questions/52080513
复制相似问题