Currently I'm executing rules in Kie server that I designed and deployed with kie wb but since you can obtain rules from repository very easily and put it on an embedded rule engine of a Java app
, Im wondering if It can be faster firing rules on the embedded engine directly since you don't need to send and recieve objects via REST, or maybe not because Kie server is designed for this purpose.
On some actions I get rules executed in less than one second, wich is acceptable for me, but in harder rules sometimes it tooks many time so I would know how to improve rules execution times, my project structure is like
Android > SEND DATA > SERVER APP(JBOSS) > OBJECTS > RULES (KIE SERVER )
^ ^ ^ ^ v OBJECTS v
^ ^ ^ ^ < < < < < < < SEND DATA < < < SERVER APP (JBOSS)
V V V V
DB UPDATES/INSERTS
Thanks in advance in case you can give me any tip or explain any performance differences between drools engine and Kie server.
I'm not sure if this is the correct place to ask this, if not I'm sorry