We are considering heavy use of interceptors in our application for
any form of communication between functional areas via
announceInterception(). We currently have about 7 that are broken out
by functional group and are considering adding many more. We were
recently investigating some performance issues with the framework and
during some profiling efforts it appears that there is quite a bit of
time associated with the processing of the various interceptors. My
question to the group is has anyone made extensive use of
interceptors? Has anyone run 10, 20, 30, or more? Is there a
significant overhead with having that many running? Is this the best
approach for loose coupling?
One of our Application have 13 Interceptors but no any performance
issue.
Now Lets have a look coldbox interceptors which are heavily used for
SES, Environment, Autowire.
Coldbox 3.0 been reorganised into packages and more highly tuned for
performance.
To be honest its totally depend on your handling Interceptors.
If any database aspects (which takes long time to process) so in this
case could be issue of performance.