hongwen1993 / fast-drools-spring-boot-starter

Easy drools,version 8.0.8
633 stars 133 forks source link

kieTemplate.getKieSession效率太慢了 #14

Open jvhuaxia opened 2 years ago

jvhuaxia commented 2 years ago

kieTemplate.getKieSession效率太慢了 每次都能花300ms 无法正常使用 致命问题

hongwen1993 commented 2 years ago

面向C端的功能,Drools 作为决策流性能可能是有点问题。不过通常面向 B 端的,交给业务人员修改的话,应该还好。主要是动态配置方便,不需要做后台。算是低代码了。 (后续我看看那吧,不知道官方有没有什么好的优化手段。)

在 2022-03-24 14:55:41,"菊花茶" @.***> 写道:

kieTemplate.getKieSession效率太慢了 每次都能花300ms 无法正常使用 致命问题

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

heyaheng1995 commented 2 years ago

我收到了。看到后会尽快回复。

jvhuaxia commented 2 years ago

谢谢作者大佬

TavenYin commented 2 years ago

作者你好,为什么 kieTemplate 中每次都要新建 KieBase,这样每次都需要编译 drl。为什么不考虑将 KieBase 缓存起来

heyaheng1995 commented 1 year ago

我收到了。看到后会尽快回复。