On Mon, Oct 4, 2010 at 9:38 PM, Paul Merlin <[email protected]> wrote:

> Does this mean that if we use 'out of the jvm' stores and index (entitystore-
> rest, entitystore-sql, rdbms based sail repository or indexing-sql) we'll be
> able to run many paralled Qi4j apps ?

Yes.
You could possibly also fabricate a "thread-safety layer" to the
underlying SAIL system, if that is now not thread-safe. Need to study
the issue in more depth, but the basic position is that Qi4j instances
(new Energy4Java) are isolated from each other as much as is possible
with the JVM. Only immutables static members should exist, nothing
else shared, no threading issues should exist, and Rickard has also
done a proof-of-concept (maybe production now) to have Qi4j instances
as plugins inside a Qi4j application.

That is the ambition level. If the "should"s above are not true, then
that constitute bug(s) and should be fixed if found.
So, what we have not had as a ambition level is to ensure the same for
all systems we integrate with. But if solid usecases emerge we will
look at them and try to ease-the-pain.

Cheers
-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to