[TENEO] Multiple instances using concurrently the same database? [message #93383] |
Wed, 15 August 2007 16:32 |
Eclipse User |
|
|
|
Originally posted by: ovcharov.us.ibm.com
This is a multipart message in MIME format.
--=_alternative 005AFF7DC2257338_=
Content-Type: text/plain; charset="US-ASCII"
Hello,
I am planning to use Teneo/jpox in an environment where multiple Teneo
instances use the same database instance (DB2) at the same time. Is this
supported?
If yes, are there any restrictions or characteristics of Teneo in this
regard that I must consider? For example, are there any potential problems
with concurrent read and update operations from different Teneo instances?
Do I need to setup/configure Teneo specially for this and do I need to use
it in a special fashion? Also, a single Teneo instance - is it thread safe
or do I need to take care about synchronization?
Thank you in advance!
Regards,
Stanislav Ovcharov.
--=_alternative 005AFF7DC2257338_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=1 face="sans-serif">Hello,</font>
<br><font size=1 face="sans-serif"> </font>
<br><font size=1 face="sans-serif">I am planning to use Teneo/jpox in an
environment where multiple Teneo instances use the same database instance
(DB2) at the same time. Is this supported? </font>
<br>
<br><font size=1 face="sans-serif">If yes, are there any restrictions or
characteristics of Teneo in this regard that I must consider? For example,
are there any potential problems with concurrent read and update operations
from different Teneo instances? Do I need to setup/configure Teneo specially
for this and do I need to use it in a special fashion? Also, a single Teneo
instance - is it thread safe or do I need to take care about synchronization?</font>
<br>
<br><font size=1 face="sans-serif">Thank you in advance!</font>
<br><font size=1 face="sans-serif"> </font>
<br><font size=1 face="sans-serif">Regards,</font>
<br><font size=1 face="sans-serif">Stanislav Ovcharov.</font>
<br>
--=_alternative 005AFF7DC2257338_=--
|
|
|
Re: [TENEO] Multiple instances using concurrently the same database? [message #93416 is a reply to message #93383] |
Thu, 16 August 2007 17:42 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Stanislav,
See comments inline.
gr. Martin
ovcharov@us.ibm.com wrote:
>
> Hello,
>
> I am planning to use Teneo/jpox in an environment where multiple Teneo
> instances use the same database instance (DB2) at the same time. Is this
> supported?
MT>> Teneo does not pose limitations on other programs accessing the db directly.
>
> If yes, are there any restrictions or characteristics of Teneo in this
> regard that I must consider? For example, are there any potential
> problems with concurrent read and update operations from different Teneo
> instances?
MT>> No more problems than with any other multi-user db.
> Do I need to setup/configure Teneo specially for this and do
> I need to use it in a special fashion?
MT>> No not afaics
> Also, a single Teneo instance -
> is it thread safe or do I need to take care about synchronization?
MT>> The initialization should be synchronised, getting the session or persistencemanager is thread
safe. One session or persistence manager should be used by one thread.
>
> Thank you in advance!
>
> Regards,
> Stanislav Ovcharov.
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Re: [TENEO] Multiple instances using concurrently the same database? [message #93492 is a reply to message #93416] |
Fri, 17 August 2007 08:50 |
Eclipse User |
|
|
|
Originally posted by: ovcharov.us.ibm.com
This is a multipart message in MIME format.
--=_alternative 0030C4E5C225733A_=
Content-Type: text/plain; charset="US-ASCII"
Hello Martin,
Thank you for your response!
On my first question you answer that there should not be any problems with
several Teneo instances working with the same database. Is this still the
case if these Teneo instances use absolutely the same object model and
respectively they use the same database tables for concurrent reads and
updates? Is there anything that I need to take care about in this regard?
Best regards,
Stanislav.
--=_alternative 0030C4E5C225733A_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=1 face="sans-serif">Hello Martin,</font>
<br>
<br><font size=1 face="sans-serif">Thank you for your response!</font>
<br>
<br><font size=1 face="sans-serif">On my first question you answer that
there should not be any problems with several Teneo instances working with
the same database. Is this still the case if these Teneo instances use
absolutely the same object model and respectively they use the same database
tables for concurrent reads and updates? Is there anything that I need
to take care about in this regard?</font>
<br>
<br><font size=1 face="sans-serif">Best regards,</font>
<br><font size=1 face="sans-serif">Stanislav.</font>
--=_alternative 0030C4E5C225733A_=--
|
|
|
|
Re: [TENEO] Multiple instances using concurrently the same database? [message #609472 is a reply to message #93383] |
Thu, 16 August 2007 17:42 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Stanislav,
See comments inline.
gr. Martin
ovcharov@us.ibm.com wrote:
>
> Hello,
>
> I am planning to use Teneo/jpox in an environment where multiple Teneo
> instances use the same database instance (DB2) at the same time. Is this
> supported?
MT>> Teneo does not pose limitations on other programs accessing the db directly.
>
> If yes, are there any restrictions or characteristics of Teneo in this
> regard that I must consider? For example, are there any potential
> problems with concurrent read and update operations from different Teneo
> instances?
MT>> No more problems than with any other multi-user db.
> Do I need to setup/configure Teneo specially for this and do
> I need to use it in a special fashion?
MT>> No not afaics
> Also, a single Teneo instance -
> is it thread safe or do I need to take care about synchronization?
MT>> The initialization should be synchronised, getting the session or persistencemanager is thread
safe. One session or persistence manager should be used by one thread.
>
> Thank you in advance!
>
> Regards,
> Stanislav Ovcharov.
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Re: [TENEO] Multiple instances using concurrently the same database? [message #609477 is a reply to message #93416] |
Fri, 17 August 2007 08:50 |
Eclipse User |
|
|
|
Originally posted by: ovcharov.us.ibm.com
This is a multipart message in MIME format.
--=_alternative 0030C4E5C225733A_=
Content-Type: text/plain; charset="US-ASCII"
Hello Martin,
Thank you for your response!
On my first question you answer that there should not be any problems with
several Teneo instances working with the same database. Is this still the
case if these Teneo instances use absolutely the same object model and
respectively they use the same database tables for concurrent reads and
updates? Is there anything that I need to take care about in this regard?
Best regards,
Stanislav.
--=_alternative 0030C4E5C225733A_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=1 face="sans-serif">Hello Martin,</font>
<br>
<br><font size=1 face="sans-serif">Thank you for your response!</font>
<br>
<br><font size=1 face="sans-serif">On my first question you answer that
there should not be any problems with several Teneo instances working with
the same database. Is this still the case if these Teneo instances use
absolutely the same object model and respectively they use the same database
tables for concurrent reads and updates? Is there anything that I need
to take care about in this regard?</font>
<br>
<br><font size=1 face="sans-serif">Best regards,</font>
<br><font size=1 face="sans-serif">Stanislav.</font>
--=_alternative 0030C4E5C225733A_=--
|
|
|
|
Powered by
FUDForum. Page generated in 0.04202 seconds