-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
Motivation
Currently frontend is polling connection status as well as import progress periodically from the backend. This approach has some problems:
- if counts are coming slow from engine import progress calculation takes longer then connection timeout, therefore multiple requests from FE queue up without being effectively consumed
- each connection has overhead of handshake, etc. that can be avoided if connection is established once only
AT
- given
- optimize is running
- when
- I open web socket connection to get status of progress-import
- then
- import-progress status is reported periodically
Implementation hints
- use configurable amount of threads to report status
- once maximum is reached, close session with appropriate response message
- write to the log, that maximum number of sessions is reached
This is the controller panel for Smart Panels app
1.
|
I can request the import progress + connection status for all engines at once | Done | Unassigned | |
2.
|
Progress Report bar is based on web socket | Done | Unassigned | |
3.
|
Import progress for each engine gets reported separately | Done | Unassigned |