hyperscan icon indicating copy to clipboard operation
hyperscan copied to clipboard

运行期支持动态编译吗

Open zhijingai opened this issue 7 years ago • 5 comments

运行期增删改正则如何实现

zhijingai avatar Sep 29 '18 00:09 zhijingai

当运行期需要修改正则,需要全量更新一次吗,扩展性如何实现

zhijingai avatar Sep 29 '18 12:09 zhijingai

这个正则库理论上就是用数据库来加速的(?),至少要重新生成新的数据库才行。

ouliuquan avatar Sep 30 '18 07:09 ouliuquan

Hi all,

Once we have more rules to add, all the rules need to be compiled to a new database again.

To get the best performance, the compilation of Hyperscan involves a large amount of analyses and optimizations among different rules. So only by recompiling the whole ruleset can we guarantee that Hyperscan delivers its best performance for them.

Thanks, Xiang

xiangwang1 avatar Oct 06 '18 03:10 xiangwang1

如果规则非常多的情况下,每次重新编译所有的规则,耗费太多的时间,这个问题该怎样解决呢?

dtwangquan avatar Oct 23 '19 05:10 dtwangquan