First, one would imagine that there are rules that are absolute, i.e., do
not depend on a user's whim or view of his/her home. These can be compiled
once and used in a rule base.
Second, variable user data may not necessarily require distinct rules.
It's conceivable that some of that data may be interpreted by generic
rules. (Imagine rules for computing the areas of rooms: you don't need
a distinct rule for each room; instead, use one or more generic rules
and feed the room shape and dimensions as fact data.)
-W
On 16/11/2012, riri <irina.adam(a)gmail.com> wrote:
Hy everyone,
I have recently decided to use Drools in my project and being a newbie I
would greatly appreciate some input. The idea is to have a web application
that simulates home automation using rules. The user could define the
configuration of his home environment (based on virtual representation of
sensors and actuators), specify rules and execute them to see how the
configuration and the rules work together.
Seeing that I have very little experience with Drools I would like to know
how drools expert would perform if you should have 100 or more users using
the web app concurrently. In some other posts they suggest creating
sessions
for each user in the knowledge base but the rules would not be the same for
each house so the knowledge base would essentially need to be different.
Should a new instance of a knowledge base be created for each user? Is
there
a different way to do this since creating a knowledge base is supposed to
be
"expensive"?
Sorry for the long post but I meant to give some context to the question
that could maybe help the experts. If anyone has had experience with such a
thing or can give me links to useful material it would be really helpful.
Regards
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-scalability-in-home-automation-s...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users