You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Loading huge (thousands) rule set takes time, some time it takes minutes.
Describe the solution you'd like
Would be much helpful to be able to load huge rule set fast.
Describe alternatives you've considered
Have the KnowledgeLibrary to be able to be saved into a compact binary file and vice-versa.
This will remove the ANTLR4 parsing process and Expression/Atoms re-indexing RETE logic.
So loading from this binary and compact file is faster and straight forward into KnowledgeLibrary.
Additional context
All AST nodes is has its own ID and this could be very helpful to maintain AST node network.
The text was updated successfully, but these errors were encountered:
PR #183 is out. Thanks a lot for your offer for help.
I will release it ASAP, and when it done, you could help me test it with big set of rule-sets.
See if it load faster from binary file.
Another thought is, you could help me prepare documentation for that part.
Storing KnowledgeBase to binary file and load it back. Or perhaps some documentation if people like to use archive/zip Reader/Writer to make the file size smaller.
Or, you could help to create such adapter. Or deployment pipeline where Rule developer could code GRL, and save it as compiled rule binary file. And deploy the binary file to server that exclusively read rule from binary file. This could open opportunity for more tooling in the Grule ecosystem.
Is your feature request related to a problem? Please describe.
Loading huge (thousands) rule set takes time, some time it takes minutes.
Describe the solution you'd like
Would be much helpful to be able to load huge rule set fast.
Describe alternatives you've considered
Have the KnowledgeLibrary to be able to be saved into a compact binary file and vice-versa.
This will remove the ANTLR4 parsing process and Expression/Atoms re-indexing RETE logic.
So loading from this binary and compact file is faster and straight forward into KnowledgeLibrary.
Additional context
All AST nodes is has its own ID and this could be very helpful to maintain AST node network.
The text was updated successfully, but these errors were encountered: