{"repo":"jruizgit/rules","free":true,"listed":false,"github":"https://github.com/jruizgit/rules","clone":"git clone https://github.com/jruizgit/rules.git","description":"Durable Rules Engine","language":"JavaScript","stars":1299,"topics":["durable-rules","ruby","python","statechart","rete","node-javascript","business-rules","events"],"license":"MIT","category":"analytics","readme_excerpt":"durable rules for real time analytics (a Ruby, Python and Node.js Rules Engine) durable rules is a polyglot micro-framework for real-time, consistent and scalable coordination of events. With durable rules you can track and analyze information about things that happen (events) by combining data from multiple sources to infer more complicated circumstances. A full forward chaining implementation (Rete) is used to evaluate facts and events in real time. A simple meta-linguistic abstraction lets you define simple and complex rulesets as well as control flow structures such as flowcharts, statecharts, nested statecharts and time driven flows. The durable rules core engine is implemented in C, which enables fast rule evaluation as well as muti-language support. durable rules can be scaled out by offloading state to a data store out of process such as Redis. State offloading is extensible, so you can integrate the data store of your choice. In durable rules V2, less is more: The Rete tree is fully evaluated in C. Thus, the framework is 5x to 10x faster (depending on the scenario) and does not require Redis. The programming model for posting events, asserting and retracting facts is synchronous and does not prescribe any web framework. Getting Started Using your scripting language of choice, simply describe the event to match (antecedent) and the action to take (consequent). Node.js To install the framework do: npm install durable Python To install the framework do: pip install dura","default_branch":null,"files":null,"tree":[],"storefront":"/r/jruizgit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jruizgit/rules/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}