Replies: 1 comment
-
Is there any timeout inside the grule engine or something else that could explain this behaviour? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Problem
I am using grule as a rule engine 'inside' an HTTP API using GIN, calling it when referencing a certain endpoint. When dealing with a few requests per second (let's say 100), the system is working properly. To determine that it is running correctly I created 1,000 rules with known desired output. However, when increasing the number of r/s the engine seems to start failing in terms of rule evaluation and I get the same input fact without the result of a rule evaluation.
Approach
Reading the discussions I found this post that seemed useful. I decided to implement the third approach given in the accepted answer, creating a pool of engine instances. However, I'm still experiencing the same situation. I'd like to ask for any ideas regarding this problem and how could I avoid 'running over' the engine.
Some details about code
Thanks in advance for any insight.
Kind regards,
Beta Was this translation helpful? Give feedback.
All reactions