How to specify the number of system-wide shared threads and queue for event preprocessor.

How to specify the number of system-wide shared threads and queue for event preprocessor.

book

Article ID: KB0085817

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Environment:
===========
BusinessEvents 3.0.1

Description:
==========
For rules, in one inference agent, there is only one rule action being executed at the time. Event preprocessing is multi-threaded for high performance. When you configure a preprocessor you also define thread settings.

In the BAR archive, go to the 'Input Destination' panel, there are two fields. The 'workers' field Specifies the number of worker threads to use for the preprocessor. The queue size field specifies the queue size of each worker thread, if you choose a number of workers from 1-8. 0 means unlimited.

If you are using shared queue and threads, there are two properties for specifying the number of system-wide shared threads and queue:

  com.tibco.cep.runtime.scheduler.default.numThreads
  com.tibco.cep.runtime.scheduler.queueSize

Choose these properties with care.

References:
==========
User's Guide -> Chapter 9 Working With Rules and Functions -> Working With Event Preprocessors

User’s Guide -> Chapter 26 Deploytime Configuration -> BusinessEvents Archive Resource Reference

User’s Guide -> Chapter 26 Deploytime Configuration -> Shared Queue and Threads Properties

Issue/Introduction

How to specify the number of system-wide shared threads and queue for event preprocessor.