ubc-systopia / Indaleko

Indaleko Project
GNU Affero General Public License v3.0
0 stars 1 forks source link

Improving the validation performance #45

Open hadisinaee opened 9 months ago

hadisinaee commented 9 months ago

The current version of the validator has a simple sequential execution. It takes about 5 to 10 minutes to validate all relationships. However, the implementation is not perfect and there is room for improvement. One basic improvement is to use a thread pool and dispatch each validation to a thread. This improves performance because these rules do not depend on each other.