How apigee uses threads to execute policies

ven
Bronze 1
Bronze 1

Hi,

Need expert advice here. It would be helpful if you can share any references to how Apigee handles these scenarios internally.

We have few shared flows which use quite a bit of policies depending on the functionality they provide. Some of these policies are part of shared flows which execute in pre and post proxy flows. I want to check how Apigee uses threads to run/execute these policies.

For every javascript policy, does apigee use one thread? Similarly, if we have multiple assign message policies (something like here https://github.com/davidmehi/edge-shared-errorhandling-flow-example/tree/master/SharedFlow_FaultRule...) does apigee use one thread per each policy? I am trying to understand this to tune our shared flows as performance test is resulting in extreme latencies and socket closed exceptions

0 1 92
1 REPLY 1

You don't need to know this and it's not part of the documented Apigee interface anyway.