Project

General

Profile

Feature #1563

BS端nginx负载两台Tomcat服务器测试

Added by yanwei li over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
yanwei li
Target version:
Start date:
08/11/2021
Due date:
08/26/2021
% Done:

100%

Estimated time:
Defect version:

History

#1

Updated by yanwei li over 3 years ago

  • Due date set to 08/25/2021
  • Status changed from New to In Progress
#2

Updated by yanwei li over 3 years ago

  • Due date changed from 08/25/2021 to 08/26/2021
  • % Done changed from 0 to 80

目前两台服务器的切换已经可以正常进行,但是websocket在两台服务器之间的转发还存在问题,原因大概定位在前端socket在检测心跳连接时,检测的间隔时间太短,当nginx还没有将请求代理到备用服务器上,前端就已经断开此次连接,又尝试下一次连接,所以会一直出现连接不上的情况

#3

Updated by yanwei li about 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100

已完成,正在撰写相关文档

Also available in: Atom PDF