Multiple 'LocalSessions' with their own opened database
Friday, 14 January 2011 · 4 messages · last reply 15 Jan 2011
FE
Fabrice Etanchaud14 Jan 2011 17:53 #
Dear all,
In Standard mode (Standalone server)
Is it possible to have several 'LocalSessions', each with a possible different opened database ?
I noticed that for each ClientSession, BaseXServer creates a child context.
So in Standalone mode, is it possible to do the same and pass a child context to each LocalSession
in order to run multiple queries on distinct databases at the same time ?
BaseX is simply fantastic.
Best regards,
Fabrice Etanchaud
AW
Andreas Weiler14 Jan 2011 18:33 #
Dear Fabrice,
sure of your plans will work.
Start a local BaseXServer connect with the local sessions and do whatever you like in each session. They don't care about each other, the server takes care about all of them.
Kind regards,
Andreas
Quoted text · Fabrice Etanchaud · 19 lines
Am 14.01.11 17:53, schrieb Fabrice Etanchaud: > Dear all, > In Standard mode (Standalone server) > Is it possible to have several 'LocalSessions', each with a possible > different opened database ? > I noticed that for each ClientSession, BaseXServer creates a child > context. > So in Standalone mode, is it possible to do the same and pass a child > context to each LocalSession > in order to run multiple queries on distinct databases at the same time ? > BaseX is simply fantastic. > Best regards, > Fabrice Etanchaud > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
AW
oops i missed an "all" -> all of your plans will work
Dear Fabrice,
sure of your plans will work.
Start a local BaseXServer connect with the local sessions and do whatever you like in each session. They don't care about each other, the server takes care about all of them.
Kind regards,
Andreas
Quoted text · Fabrice Etanchaud · 19 lines
Am 14.01.11 17:53, schrieb Fabrice Etanchaud: > Dear all, > In Standard mode (Standalone server) > Is it possible to have several 'LocalSessions', each with a possible > different opened database ? > I noticed that for each ClientSession, BaseXServer creates a child > context. > So in Standalone mode, is it possible to do the same and pass a child > context to each LocalSession > in order to run multiple queries on distinct databases at the same time ? > BaseX is simply fantastic. > Best regards, > Fabrice Etanchaud > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
AW
Dear Fabrice,
sure all of your plans will work.
Start a local BaseXServer connect with the local sessions and do whatever you like in each session. They don't care about each other, the server takes care about all of them.
Kind regards,
Andreas
Quoted text · Fabrice Etanchaud · 19 lines
Am 14.01.11 17:53, schrieb Fabrice Etanchaud: > Dear all, > In Standard mode (Standalone server) > Is it possible to have several 'LocalSessions', each with a possible > different opened database ? > I noticed that for each ClientSession, BaseXServer creates a child > context. > So in Standalone mode, is it possible to do the same and pass a child > context to each LocalSession > in order to run multiple queries on distinct databases at the same time ? > BaseX is simply fantastic. > Best regards, > Fabrice Etanchaud > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Written for BaseX 6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery