Clustering/replicating?
All: We're looking into possibly building large scale infrastructure around BaseX and wondering if there is any information available around database replication (read replicas) and running BaseX in clusters? Also, when I submit a query to a BaseX server, is there a way to limit the amount of time/resources the query can comsume? For example, can I say 'fail this query if it takes more than 30 seconds or 1Gb of memory'? many thanks *P
Hi Pascal,
just a short reply regarding the query resources: if the client/server architecture is used, slow queries can be interrupted by setting a value for TIMEOUT [1]. There is no option yet to track down memory hogs.
Regarding replication and clusters, we currently have three students (Lukas, Dirk, Lukas) working on BaseX and cloud-related issues. Real use cases such as yours could be an interesting starting point to achieve more interesting results.
Feel free to ask for more, Christian
Quoted text · Pascal Heus · 10 lines
On Thu, Oct 20, 2011 at 10:01 PM, Pascal Heus <pascal.heus at gmail.com> wrote: > All: > We're looking into possibly building large scale infrastructure around > BaseX and wondering if there is any information available around > database replication (read replicas) and running BaseX in clusters? > Also, when I submit a query to a BaseX server, is there a way to limit > the amount of time/resources the query can comsume? For example, can I > say 'fail this query if it takes more than 30 seconds or 1Gb of memory'? > many thanks > *P
Written for BaseX 7.0. BaseX may have changed since: please check the current documentation.