Chapter 12. Learning about Performance

Performance is an important requirement in most applications. To get the best out of any technology, we need to understand how it works. We can then make better decisions about how to use it, what and where to optimize.

However, performance shouldn't be the most important factor when considering a rule engine. Simply put, a rule engine is a general purpose if-then statement executor. It will never achieve performance of a custom-built system. You may also find that with a custom-built system, its performance is excellent at the start, but it degrades as the system grows in complexity. If we don't want to rewrite it over and over, we'll eventually end up with the so-called spaghetti code. The performance of ...

Get Drools JBoss Rules 5.X Developer's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.