kbss-cvut / termit

An advanced SKOS terminology manager linking concepts to their definitions in documents
GNU General Public License v3.0
8 stars 9 forks source link

Performance when multiple users edit the same vocabulary #285

Closed ledsoft closed 1 month ago

ledsoft commented 3 months ago

When multiple people edit the same vocabulary and the same time, TermIt's performance becomes quite bad (up to the point when proxy starts timing out on requests).

It seems the problem is that each edit of a term's label/definition leads to text analysis of all terms in the vocabulary, which is happening repeatedly and at the same time as terms are created and edited by the users. We should consider batching the analyses and possibly pushing notifications to client when the analysis is actually performed, and its results processed.