Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Implement support for multi-threaded validation #1

Open
qligier opened this issue Oct 6, 2020 · 0 comments
Open

Implement support for multi-threaded validation #1

qligier opened this issue Oct 6, 2020 · 0 comments
Labels
enhancement New feature or request hacktoberfest help wanted Extra attention is needed

Comments

@qligier
Copy link
Owner

qligier commented Oct 6, 2020

Implement support for multi-threaded validation

When SchematronixValidator processes the Schematron rules, it reads and executes them one by one. This could certainly be improved by dispatching SchematronixRules to a fixed number of threads (with a ThreadPoolExecutor?) for execution.

Open questions:

  • Thread safety: could multiple Saxon Processors work at the same time from different threads on the same DOM?
  • Memory optimization: is it possible for the validator to wait for a free thread before parsing a new rule, instead of parsing the whole Schematron and dispatching them all? Or maybe keeping a single rule in
  • Fast validation: is it possible to stop all threads if a single one reports a validation error while on fast validation mode?
@qligier qligier added enhancement New feature or request help wanted Extra attention is needed hacktoberfest labels Oct 6, 2020
@qligier qligier closed this as completed Jan 29, 2021
@qligier qligier reopened this Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant