Re: Exist Xquery Wait and Receive Times
Nick Sincaglia <[email protected]>
| Newsgroups | gmane.text.xml.exist |
|---|---|
| Organization | NueMeta, LLC |
| Message-ID | <[email protected]> |
This is just a guess but 6MB of XML data might take a time for the browser to render. If you run the same script in "View Source" mode, it might not try to render the XML and might display the data within 2 to 3 seconds again. Nick On 10/15/22 2:10 AM, IonutzC via Exist-open wrote: > 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 -- Nick Sincaglia President/Founder NueMeta, LLC Digital Media & Technology Phone: +1-630-303-7035 [email protected] http://www.nuemeta.com Skype: nsincaglia _______________________________________________ Exist-open mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/exist-open