Hi Andreas,
Please find attached a test program (Please substitute the xml file and xquery- I had used my application data which is about 1.5MB xml file and it is confidential).
I got a BaseX error (attached) while doing both reads and writes parallely. But, It worked fine when I did reads only parallely or writes only parallely.
Thanks and regards,
Swaminathan S
On Mon, Mar 8, 2010 at 4:35 PM, Andreas Weiler < andreas.weiler@uni-konstanz.de> wrote:
Hi Swaminathan,
BaseX is handling requests as multiple reader and single writers. All update queries will be queued and then processed one by one (doesnt mather on same or different xml). Read queries will be processed simultaneous.
I need to design the concurrency aspect.
We would be pleased about your results.
Kind regards, Andreas (BaseX Team)
Swaminathan S schrieb:
Hi,
Suppose BaseX receives several requests(updates/queries) (on same or different xml) almost simultaneously, how will BaseX handle this? I mean does BaseX queue all requests and process one by one or the application querying BaseX needs to ensure that a second request does not reach BaseX till the first request is completed by BaseX?
Since I am working on an application that handles operations for multiple xmls parallely, I need to design the concurrency aspect.
Thanks and regards,
Swaminathan S
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk