Exist Xquery Wait and Receive Times

IonutzC via Exist-open <[email protected]>
Newsgroups gmane.text.xml.exist
Message-ID <[email protected]>
Hello folks,
I noticed a weird issue concerning .xql calls (via AJAX, but the same happens when I run them directly in the browser). I have a query and if I check it in eXide it takes about 3 to 4 seconds of waiting time and 2 to 3 seconds of receiving time. The overall result is 6MB, so not the smallest but also not the largest amount of data to transfer.
Now, the weird thing is that whenever I call the same .xql via AJAX (or, like I mentioned above, if I simply load it in the browser), the waiting time grows considerably, like 5 or 6 seconds extra, making the whole request incredibly slow. I checked the profiling tool in monex and it still shows the low number I get in eXide rather than the realistic time it takes to get the data. So either the serialization process or the data transfer issue is creating a problem. In any case, as far as I can tell there is nothing wrong with my script but rather eXist as a whole appears to be causing and issue somewhere or I am doing something incorrectly and I am not aware of it.
Did anyone run into anything similar or do you have any suggestion how one might go around tackling this?
Cheers!

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.