Clustering/replicating?
Friday, 21 October 2011 · 2 messages · last reply 22 Oct 2011
PH
Pascal Heus21 Oct 2011 00:01 #
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
CG
Christian Grün22 Oct 2011 01:45 #
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
[1] http://docs.basex.org/wiki/Options#TIMEOUTQuoted 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.
⚡Generated with XQuery