我们正在执行批量REST操作,该操作持续了15分钟以上,我们正在使用wildfly undertow负载均衡器。 我们看到,即使原始REST调用尚未完成,负载均衡器也会在11分钟后在内部重新触发其余调用。 谁能建议我们要去哪里错了?
我们有前端:牵引负载均衡器 和后端:widlfy的3个节点 我们正在使用CPU指标进行负载共享。
当我们从前端触发批量更新时,我们观察到以下日志:
Initial request went to IVM-0 (i.e. this is wildlfy node)
2019-02-28 14:36:41,849 [default task-9] INFO c.n.w.r.f.CustomFilter:doFilter:57 - Rest URL=<SI /myapp/rest/someServie/update>
Second request went to IVM-10 (i.e. this is wildlfy node)
2019-02-28 14:47:53,871 [default task-6] INFO c.n.w.r.f.CustomFilter:doFilter:57 - Rest URL=<SI /myapp/rest/someServie/update>
Initial request completed by (IVM-0) :
2019-02-28 14:52:27,935 [default task-9] INFO c.n.w.o.SomeOperations:update:1175 - LOCK released
access logs
10.247.84.107 - - [[28/Feb/2019:14:52:27 +0530]] "PUT /myapp/rest/someServie/update HTTP/1.1" 200 29 946128
Third request went to IVM-10 :
2019-02-28 14:59:05,898 [default task-3] INFO c.n.w.r.f.CustomFilter:doFilter:57 - Rest URL=<SI /myapp/rest/someServie/update>
Failed as already one request going on
access logs
10.137.84.207 - - [[28/Feb/2019:14:59:07 +0530]] "PUT /myapp/rest/someServie/update HTTP/1.1" 575 71 2026 ( Bulk update in progress shown in front-end)
Second request completed one IVM-10
2019-02-28 15:01:17,361 [default task-6] INFO c.n.w.o.SomeOperations:update:1175 - LOCK released
注意:我们仅在Mozilla Firefox浏览器中观察到此问题