
Chapter 16
Performance Tuning
16.1 Introduction
The Rhino SLEE will excel to production performance and stability requirements when it is configured, monitored and tuned
correctly. The following sections demonstrate administration strategies and configurations of Rhino SLEE which will provide
fault tolerance and high availability behaviour.
For documentation of the statistics features of Rhino SLEE please refer to Chapter 8.
16.2 Staging Configuration
Staging refers to the micro management of work within the Rhino SLEE. The work is divided up into “Items” and executed by
"Workers".
Each worker is represented by a system level thread. The number of threads available to process the items on the stage can be
configured to minimise the latency, and henceforth increase the performance capacity of the Rhino SLEE.
Rhino performs event delivery on a pool of threads called “Staging Threads”. The staging thread system operates a queue for
units of work to be performed by Rhino, called "stage items". Typically, these units of work involve the delivery of SLEE events
to SBBs. When a “stage item” enters staging it is placed in a processing queue and removed by the first available staging thread
which will then perform the work associated with that “stage item”.
The amount of time an event processing stage item spends in the staging queue before being processed by a stage worker
contributes to the overall latency in handling the event. Because of this, it is important to make sure that the staging threads
are being used optimally. There are a number of tunable parameters in the staging system that can be altered to improve
performance:
Parameter Description
maximum-size
The maximum size of the staging queue.
thread-count
The number of staging threads in the thread pool.
maximum-age
The maximum age of a staging item, in milliseconds.
Stage items that stay in the staging queue for longer than maximum-age are
automatically failed by the staging thread.
local-enabled
Enable thread local staging (see below).
local-maximum-size
Maximum size for staging threads local stage queues.
Table 16.1: Staging system tunable parameters
94
Comentarios a estos manuales