Hi Michael,
this change was done already in V12.x early 2017, so latest in 12.9 it's there. The reason for this change was to reduce the temp. DB access. As CP get the message, write it into MQ, notify the WP, WP read the MQ and then write it into RT ...
As mentioned this was already implemented before JCP was born, so JCP just take over this functionality. With one restriction in CP it can be disabled with INI parameter, in JCP not (never seen the reason for that).
Beside the report handling (RT table) the CP/JCP uses similar optimization with OBLOB table (Storage Resources/CAU ...) where large amount of data have to be transferred to the Agent(s). The read of the data is done by JCP and not WP.
Well the last question is harder to answer. Basically the (J)CP is not doing any "business logic" execution, like the WP do. Nevertheless the DB is for couple of things like Agent housekeeping, MQs, settings ...
Hope I could answer your questions.
BR Peter
Original Message:
Sent: Jun 08, 2023 01:53 AM
From: Michael Lowry
Subject: AWA v21.0 inter-process communication
I recently learned that in v21, Communications Processes (and presumably JCPs) are responsible for writing reports from agents to the RT table in the database. I vaguely remember an earlier discussion about this topic, but could not find it here in the forum. My vague recollection is that the change was introduced recently (within the past few years) to reduce unnecessary messaging and take some of the load off of WPs.
It was my previous understanding that only Work Processes wrote to the database. I would be grateful if someone from Broadcom Support would answer these questions:
- When was this change introduced (in what version)?
- Why was this change introduced?
- Aside from writing reports from agents to the RT table, what other changes do CPs and JCPs make to the DB (if any)?
Thanks in advance.