terrible performance of webserver under BaseX11
Tuesday, 10 September 2024 · 3 messages
RS
Rob Stapper10 Sep 2024 15:31 #
Hi Christian,
My webserver-app that performed reasenably well under BaseX10 performs terribly under Basex11. Chrome even gives me at the end of the process an 'out of memory' message. So it is not only performance but also resource-usage. I have absolutely no clou how to address this, so all suggestions are very welcome.
mvgr.
Rob Stapper
CG
Christian Grün10 Sep 2024 15:38 #
Hi Rob,
You’ll probably need to give us more hints:
• How do you use launch your webapp? Do you use basexhttp, Jetty 11, Tomcat, …?
• Do you use RESTXQ, the basic REST API or something else?
• Is is a specific endpoint that is slow, or is it your webapp environment in general?
• Can you reproduce the memory issue when directly calling your endpoint code?
Christian
Quoted text · Rob Stapper · 14 lines
On Tue, Sep 10, 2024 at 3:31 PM Rob Stapper <r.stapper at lijbrandt.nl> wrote: > Hi Christian, > > My webserver-app that performed reasenably well under BaseX10 performs > terribly under Basex11. Chrome even gives me at the end of the process an > 'out of memory' message. So it is not only performance but also > resource-usage. I have absolutely no clou how to address this, so all > suggestions are very welcome. > > mvgr. > > Rob Stapper > >
CG
Christian Grün10 Sep 2024 18:38 #
(cc to the list)
For a more helpful response, we would certainly need to look at your code and run it by ourselves.
I recommend you to run your function…
$SWM:dialog.new…outside your web application, e.g. in the BqseX GUI. This may help you to isolate the problematic part of the code.
Written for BaseX 11.2. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery