|
13.1 What is Asynchronous Message Processing?
13.2 Enabling Asynchronous Message Processing
13.3 Setting Maximum number of threads
13.1 What is Asynchronous Message Processing?
Asynchronous Message Processing enables the client to send many requests simultaneously to the TL1 Agent without having to wait for the previously sent message to be processed by it and send the response message. Also, using the Asynchronous Message processing, more than one client can access the TL1 Agent and get the processes done in parallel.
Without the Asynchronous Message processing support, the TL1 Agent will have to wait for the Output response message to be sent before taking up the next Input Message for processing. This will consume a lot of time when many requests are sent to the Agent simultaneously.
Asynchronous Message processing is achieved by using Multi-Threading.
13.2 Enabling Asynchronous Message Processing
Follow the steps below to enable Asynchronous Message Processing support in the TL1 Agent from the TL1 Compiler. By default Asynchronous Message Processing is enabled before code generation.
In the TL1Compiler, choose Project>>Settings from the MenuBar or using the shortcut key CNTRL+SHIFT+S.
A Dialog Box will appear with Settings tree on the left frame of the box.
Choose the node General from the Settings tree.
Here you can enable or disable Asynchronous Message Processing support from the Mode Block.
13.3 Setting Maximum number of threads
Number of Threads: You can configure the number of threads that you require in the TL1 Agent for Asynchronous Message Processing from the TL1 Compiler. After enabling the Asynchronous Message processing as explained in the above section, the combo box for configuring the number of threads gets activated. Here you can increase or decrease the number of threads.
The default no. of threads is 5 and the maximum number of threads that are permitted is 20.
|