July 17, 2025 - Python plug-ins can be run without sub-interpreters or with dedicated GILs

Context


Change Type: Improvement
Product area: Analytics
Component: Streaming Analytics
Deployed at: eu.latest.cumulocity.com, apj.cumulocity.com

Technical details

Build artifact: apama-in-c8y (26.148.0)

Description


EPL plug-ins written in Python now have configurable isolation modes. This allows a plug-in to be loaded to use the main interpreter rather than a sub-interpreter, which is required for certain common third-party libraries that don’t support sub-interpreters, such as numpy. You can also run plug-ins with even more isolation, and use a separate Global Interpreter Lock (GIL) to the parent interpreter. This means that two different plug-ins can be executed in parallel.

Additional information can be seen in the corresponding Apama change log.