Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thread-safe OntModel #46

Open
sszuev opened this issue Mar 8, 2023 · 1 comment
Open

thread-safe OntModel #46

sszuev opened this issue Mar 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@sszuev
Copy link
Contributor

sszuev commented Mar 8, 2023

concurrent RDF-Graph (https://github.com/sszuev/concurrent-rdf-graph) is not enough.
OntModel methods are still not protected properly.

There is already concurrent implementation (com.github.owlcs.ontapi.OntologyModelImpl.Concurrent.asGraphModel), but it does not cover all cases.

TODO:

  • Need to protect all write operations and all complex read-operations (such as Model#write, Model#write)
  • Simple read operations should not be protected in performance sake (there is already protection for Iterator on graph level with internal own lock)
  • The same protection should be done for OntObjects as well
@sszuev sszuev added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Mar 8, 2023
@sszuev
Copy link
Contributor Author

sszuev commented Mar 20, 2023

No one seems to be using this feature, hence low priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant