Absolute Performance Inc.

Home SOLUTIONS Platform Solutions HandySoft BizFlow Solutions - HOT BUTTON #3: Queue Analysis & Tuning

HandySoft BizFlow Solutions - HOT BUTTON #3: Queue Analysis & Tuning

Article Index
HandySoft BizFlow Solutions
Management Services
Monitoring with System Shepherd®
End-User Experience Management
HOT BUTTON #1: Log Analysis & Cleaning
HOT BUTTON #2: Blocked Processes & Stuck Flows
HOT BUTTON #3: Queue Analysis & Tuning
All Pages
Absolute Performance has consulted with a number of companies who use HandySoft BizFlow® as their platform for business process management and automated workflow. Through our work with these complex, real-world environments, we have discovered three common problems that can degrade BizFlow performance or cause an outage:
  • Log Analysis
  • Blocked Processes
  • Queue Analysis

In our last two articles, we discussed the importance of BizFlow log analysis and the potentially vicious cycle of blocked processes. In this article, we’ll discuss another key BizFlow monitoring and management challenge – queue analysis and tuning.

BizFlow Queues: A Delicate Balance

Queue analysis and tuning is important in BizFlow for two reasons:

  • All work items flow through the BizFlow queues at some level; and
  • The volume of work introduced into the BizFlow queues directly affects system performance

In a typical BizFlow deployment, work flows into the queues from another application in the environment, such as an imaging application or a customer-facing order entry system. If the BizFlow queues are not effectively monitored and tuned, they can quickly become a bottleneck in the system.

Controlling the flow of work into BizFlow is a delicate balance. If too much work enters the queues, BizFlow performance rapidly degrades and you risk ending up with blocked processes in the database that can cause an outage. However, if the flow of work is too low, business-user productivity suffers as work items are not processed in a timely manner.

Two Approaches to Controlling Work Item Flow

There are two common approaches to regulating the flow of work items into BizFlow:

  • External controls
  • Queue tuning

The first alternative is to build appropriate external controls to manage the volume of work items before they reach BizFlow. This approach is preferred because it offers more fine-grained control and the ability for the controls to be dynamic — dynamic controls don’t exist within BizFlow itself.

Another option for regulating the flow of work into the system is to modify the configuration parameters for the BizFlow queues. HandySoft supplies a number of parameters for tuning BizFlow queues, including:

  • The total number of queues
  • The number of threads associated with each queue (# of jobs each queue can simultaneously process)
  • The check interval for each queue
  • The maximum amount of time each queue will wait for a job to process

Regardless of which alternative you use to regulate the flow of work into BizFlow, monitoring key data about the BizFlow queues is absolutely critical for making good choices in your parameter settings.

The Challenge of Monitoring BizFlow Queues

In order to effectively tune BizFlow queues, you need to collect detailed statistics about each queue including:

  • Elements in Queue
  • Queue Activities Added per Minute
  • Rate of Queue Processing
  • Queue Size
  • Queue Processing Rate
  • Total Number of Errors
  • Rate of Errors

You also need the ability to correlate this queue-specific data with system load on the application server, system load on the database server, and end-user response times to help guide your tuning efforts.

However, BizFlow queues are file system based. Most monitoring solutions don’t offer a mechanism to deal with file content monitoring. Absolute Performance's System Shepherd® platform, on the other hand, equally monitors file content, database records and business processes and is precisely architected to make and visualize correlations between all these diverse data sources.



 

CASE STUDIES, DATA SHEETS, AND MORE

Download additional resources here.

Register Now...