![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
All of the foreground processes must operate on the master server. See Determining Where Processes Run for more information.
• Work Queue Server (WQS), which handles the listing of queues. This process is run by SWDIR\etc\wqsrpc. There is only a single wqsrpc process running at any time.
• Work Item Server (WIS), which handles the listing of work items in the queues. This process is run by SWDIR\etc\wisrpc. The number of wisrpc processes running is configured by the Process Sentinels (process_attribute table).
1.
Refer to TIBCO iProcess Workspace and TIBCO iProcess Engine Network Communication for more information about RPC calls and how the TIBCO iProcess Workspace and TIBCO iProcess Engine communicate over the network.The WQS allocates work queues to the WIS processes that are running using either round robin or on-demand allocation. You can configure which allocation method is used by modifying the WQS_ROUND_ROBIN parameter in SWDIR\etc\staffcfg.
If you have certain queues that are very large or very busy, you may find it useful to dedicate specific WIS processes to handling only those queues (leaving the remaining queues to be dynamically assigned to the remaining WIS processes).Refer to “Administering the Work Queue Server and Work Items Server” in the TIBCO iProcess Engine: Administrator's Guide for more information.A number of RPC pool servers can be created by the RPC Listener when the TIBCO iProcess Engine is started and each RPC server will be responsible for a configured pool of TIBCO iProcess Workspace connections. You can set up a number of pool servers that are pre-loaded if you have lots of TIBCO iProcess Workspaces logging in quickly. You do this by defining the PRE_LOAD_POOL_SERVERS parameter in the SWDIR\etc\staffcfg file. TIBCO iProcess Workspaces can be allocated to pool servers using either a round robin or load balanced method.The RPC Pool servers are started by the RPC TCP Listener. The number of users that each pool server can support is configured using the MAX_USERS_PER_PROCESS parameter in the SWDIR\etc\staffcfg file.The RPC Listeners are started by the Process Sentinels and are the first TIBCO iProcess Engine foreground server processes to be started. A listener is started for both TCP and UDP protocols. The RPC number for the Listener process is the same for TCP and UDP and is a start-up configuration parameter for the TIBCO iProcess Engine. Line 11 of the SWDIR\swdefs file defines this RPC number.The WIS handles the listing of work items in the queues. The process executable is SWDIR\etc\wisrpc. A number of WIS processes can be run and this is controlled by the Process Sentinels.
There are many work queue performance issues related to the number of WIS processes you have, how many work queues they process, how many threads they use for different tasks and so on. Refer to “Administering the Work Queue Server and Work Item Servers” in the TIBCO iProcess Engine: Administrator's Guide for more information.The WIS processes maintain a cache of the information they contain (which is the user’s work queue). This cache is synchronized with the same information stored in the user or group’s work queue (staffo database table). You can view the information in this table using SWDIR\util\plist -m.This process (WISMBD) operates between the WIS Mbox set and the WISRPC processes forwarding messages from one to the other. The executable is SWDIR\etc\wismbd.
The WISMBD process is configured to read from a configurable number of physical WIS Mbox sets in a round-robin manner and it will deliver the messages to the appropriate WIS process.When the WIS Mbox sets are empty, the WISMBD will sleep for a configurable amount of time. This is defined by the EMPTYMBOXSLEEP, EMPTYMBOXSLEEP_INC and EMPTYMBOXSLEEP_MAX process attributes. Refer to “Administering Process Attributes” in the TIBCO iProcess Engine: Administrator's Guide.
The WISMBD sends synchronous RPC requests to the WIS that maintains the work queue to which the message is addressed.The WISMBD is initially set to read from the following Mbox sets:
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |