jruizgit / rules

Durable Rules Engine
MIT License
1.15k stars 206 forks source link

about v2 #212

Open leoDreamer opened 5 years ago

leoDreamer commented 5 years ago

hi, dear author I have plan to use this library in my project, but there are some features need to modify, such as delete ruleset, expose some implement, I will fork and realize it after read source code. I know the v2 branch developing now, how is it compatible ? Thank you for developing this library.

jruizgit commented 5 years ago

Hi, thanks for asking the question. The programming models for V1 and V2 will be fully compatible. In V2, the full Rete tree is evaluated in C. Redis can optionally be used for fault tolerance and scale out. I will be merging the V2 branch in June.

danielkornev commented 5 years ago

few more questions:

jruizgit commented 5 years ago

Will it be possible to run a v2 Rules Engine as a standalone executable and access via an Unix Pipes-based API?

I was not planning on doing this. But, this is a great idea.

Will it be possible to store Facts data in, say, a PostgreSQL database or a something else like that?

Yes that is the goal. I will provide Redis support by default and a mechanism for providing extensions.

danielkornev commented 5 years ago

Great news!

How far is v2 branch from experimenting with support for other storage providers?