Action Task Manager

Some DHTML operations require a large amount of memory and CPU processing power. The Action Task Manager improves DHTML service performance by preventing a large number of actions from being run simultaneously.

The Action Task Manager coordinates DHTML actions through two fixed-size tables:

Note: Only certain operations that consume considerable hardware resources need to be prevented from being run at the same time. You can define which kind of requests need to be queued before being processed.

When a new DHTML request reaches the server, it will be processed according to the following flow:

  1. The DHTML service determines whether the requested operation is a restricted action. If it is, the Action Task Manager will take over the request. Otherwise, it will be processed directly, without being managed by the Action Task Manager.
  2. If the Concurrent Processing Table is full, the restricted request will be assigned to the Waiting Requests Queue. If the queue is full, the DHTML service will refuse the request and return a warning message.
  3. After the request has been processed, it will be de-registered from the Concurrent Processing table. The DHTML service will then automatically continue to process the requests in the Waiting Requests Queue.

By using the property file dhtml.properties provided in JReport Web, you can balance the server load by adjusting table sizes and specify which kind of requests are managed by the Action Task Manager.

dhtml.properties

The dhtml.properties file is located at <install_root>\bin. It allows you to control three major options for the Action Task Manager: