大量同步 AIS 请求可能会降低性能

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-01-20 10:38
IBM® Business Process Manager Advanced V8.0.1中, StaX 解析器的缺省缓冲区大小已从 64K 更改为 2K,这可能会在存在大量同步 Advanced Integration Service (AIS) 请求时导致性能问题。

您可能会注意到 Java™ 内核对性能的影响,即 com/ibm/bpm/sca/core/SCARuntime@0x000000011A173C40: owner "WorkManager.bpm-em-workmanager" 上出现大量阻塞线程。

解决问题

要解决此问题,请将 com.ibm.xml.xlxp2.api.util.encoding.DataSourceFactory.bufferLength 增大到 64K。
  1. IBM Business Automation Workflow 安装目录 /profiles/<NodeProfile>/installedApps/<CellName>/IBM_BPM_CMIS_SingleCluster.ear/fncmis.war/WEB-INF/classes/cmis.properties2中,在文本编辑器中打开 cmis.properties 文件。
  2. 添加以下行:

    com.ibm.xml.xlxp2.api.util.encoding.DataSourceFactory.bufferLength=655363

    保存并关闭文件。
  3. 重新启动 JVM。
  4. SystemOut.log 文件中,验证 com.ibm.xml.xlxp2.api.util.encoding.DataSourceFactory.bufferLength 系统属性是否已更改:
    CMISBootstrap I com.ibm.ecm.cmis.util.CMISBootstrap processedSystemProperties Overriding system property 
    com.ibm.xml.xlxp2.api.util.encoding.DataSourceFactory.bufferLength with the configured value, 65536