Concurrent writing to a model
900576Feb 8 2012 — edited Feb 13 2012Hello,
We are trying to find the best solution to write concurrently to the same semantic model. We have at times more than 20+ threads requesting to update triples in the semantic model. We are currently creating a synchronized block around the operation that all of the threads use to only allow one of the threads access to the editable model. When we did not use the syncronized block the INS and DEL triggers on the Application Table creating deadlocks.
Is there a best practice for writing to the same model at the same time? Any guidence would be helpful.
Thanks
-MichaelB
Edited by: MichaelB on Feb 8, 2012 9:55 AM