To reduce disk utilisation and improve performance, only define context relationships if needed, that is, when the processing of the events has a dependency on previous or future events.
为了减少磁盘资源争用以改善性能,请仅在必要的时候的定义上下文关系,即事件的处理依赖于之前或之后的事件。
This yields a performance boost since join point context doesn't need to be accessed reflectively.
这会带来性能飞跃,因为不需要以反射的形式访问连接点上下文了。
Indeed, too many threads will even degrade performance because of the additional context switching overhead.
事实上,太多的线程甚至会降低性能,因为它会导致额外的环境切换开销。
应用推荐