Thanks Dick for this info, In fact, our use case is simpler as we want a static model to be queried (SPARQL) by multiple concurrent threads. No concurrent updates. I suppose Jena will support such use case. Thanks, - Uri
Regards, Uri Shani, PhD Research Staff Member SPRINT(lead), DANSE (tools-net lead) Projects Phone: 972-4-829-6282 | Phone: 972-4-8296228 | Mobile: 972-54-697-6282 E-mail: [email protected] Find me on: Haifa University, Mount Carmel Haifa, HA 31905 Israel From: Dick & Hannah <[email protected]> To: "[email protected]" <[email protected]>, Date: 11/11/2012 03:38 PM Subject: Re: Multithreads with Jena Model and TDB are thread safe if coded appropriately. It's a SWMR per thread design. So if you open a dataset twice in two threads and code appropriately i.e. Begin/Commit/Rollback Jena will behave. Our system is massively parallel and the Jena part has never had issues. We regularly have the dataset open tens of times to handle concurrency. Hannah On 11 Nov 2012, at 11:01, Uri Shani <[email protected]> wrote: > > Is Jena thread-safe? > What would be the limitations on that as far as plain models, built in > reasoners or any arbitrary associated reasoners? > Purpose would be to break the single thread barrier when working with > Jena models. > Thanks, > - Uri Shani > > > Regards, > > Uri Shani, PhD > Research Staff Member > SPRINT(lead), DANSE (tools-net lead) Projects > Phone: 972-4-829-6282 | Phone: 972-4-8296228 | Mobile: 972-54-697-6282 > E-mail: [email protected] > Find me on: > > > Haifa University, Mount Carmel > Haifa, HA 31905 > Israel >
