I use BaseX'es jobs for this. Works but you have to be careful because you give up all the protections against dead locking or becoming unresponsive because no new jobs can be scheduled anymore so all HTTP communication stops like database administration for example.
Best regards
Omar
Am 20.04.2018 um 15:57 schrieb Marco Lettere:
On 20/04/2018 15:49, Christian GrĂ¼n wrote:
Hi Omar,
Thank you (and everyone else) for sharing your experiences.
- BaseX in comparison to exist-db turned out to be particularly bad at
hosting multiple XQuery based applications like RestXQ endpoint in one instance.
Definitely true; BaseX was not built for that. If you want to run multiple applications with a single web server, the recommended approach is to use the WAR distributions of BaseX and deploy each application as a separate servlet.
Or use it as we do here. A new BaseX process for every application. A sort of very small application container or nano-service with the optimization that they all share the BaseX code and just use different restxq and possibly data folders.
;-)
M.