Transkribus / TranskribusSwtGui

Note: the repo has been moved to https://gitlab.com/readcoop/Transkribus/TranskribusSwtGui
GNU General Public License v3.0
18 stars 4 forks source link

Optimize DocJobUpdater #326

Open kahlep opened 3 years ago

kahlep commented 3 years ago

The GUI will register each started job with DocJobUpdater which then updates each job regularly with a single request. Especially when large batches of jobs are started this results in the GUI sending 20-30 GET requests per second to the server.

Today at noon, the server has handled 200.000 GET requests regarding job updates (total is 260.000, or 220.000 GET requests)

It would be much easier on the server if the GUI could just query for the jobs with state=RUNNING or state=UNFINISHED and query those specifically that were include, but are missing in that list at some point, in order to check the outcome.