Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Categories Data Functions
Created by Guest
Created on Feb 14, 2023

execute multiple Python/TERR data functions in parallel even all of them are from the same Analyst/WP/AS session

We have confirmed with TIBCO support that, currently as designed/implemented how the data function services work, all data function service(Python/TERR) invocations per analysis session are serialized. Also, there is no configuration to force serial or parallel behaviour of data function executions though.

That is to say,

when we have an analysis which will kick 3 data functions to be executed on Python/TERR service server at the same time, all these 3 data functions are executed 1 by 1, i.e the 2nd one starts to run only after the 1st one has finished, and the 3rd one starts to run only after the 2nd one has finished. This causes the total execution time are the summary of each one, instead of the max one of them which is expected. There are more than enough engine processes already initialized on the Python/TERR service server already but they are not utilized efficiently.

Please add an option to execute multiple Python/TERR data functions on Python/TERR service server in parallel even all of them are coming from the same Analyst/WP/AS session.

  • Attach files
  • Guest
    Feb 14, 2023

    Current behavior is tested on Spotfire Server 12.0.3 / Analyst 12.0.2 / Python service 1.12.2.