Topic
  • 2 replies
  • Latest Post - ‏2013-04-17T04:07:12Z by 1EME_Tridip_Sarma
1EME_Tridip_Sarma
1EME_Tridip_Sarma
15 Posts

Pinned topic Parallel processing in DataPower

‏2013-04-16T12:33:11Z |

I am executing multiple rules in parallel. I am using a common xslt in all the rules to update a context variable.

is there a possibility of any mulch-threading/synchronization issue as we have in Java . If so, can we overcome that?

Appreciate any advice provided.

Thanks,
Tridip K Sarma

 

 

 

  • swlinn
    swlinn
    1348 Posts
    ACCEPTED ANSWER

    Re: Parallel processing in DataPower

    ‏2013-04-16T12:59:07Z  

    You may have multiple rules in your processing policy, but for a specific transaction, you'll be taking a serial path of one request rule and one response rule (of course you could call rules as part of those).  Context variables will be available to any action used by the transaction, either in the request or response.  If you make some of your actions asynchronous, then those context variables may / may not be available, depending upon where you put a sync action in your rule.  Across transactions you have system variables, but they are not thread safe and there is not a mechanism to make them such.

    Regards,

    Steve

  • swlinn
    swlinn
    1348 Posts

    Re: Parallel processing in DataPower

    ‏2013-04-16T12:59:07Z  

    You may have multiple rules in your processing policy, but for a specific transaction, you'll be taking a serial path of one request rule and one response rule (of course you could call rules as part of those).  Context variables will be available to any action used by the transaction, either in the request or response.  If you make some of your actions asynchronous, then those context variables may / may not be available, depending upon where you put a sync action in your rule.  Across transactions you have system variables, but they are not thread safe and there is not a mechanism to make them such.

    Regards,

    Steve

  • 1EME_Tridip_Sarma
    1EME_Tridip_Sarma
    15 Posts

    Re: Parallel processing in DataPower

    ‏2013-04-17T04:07:12Z  
    • swlinn
    • ‏2013-04-16T12:59:07Z

    You may have multiple rules in your processing policy, but for a specific transaction, you'll be taking a serial path of one request rule and one response rule (of course you could call rules as part of those).  Context variables will be available to any action used by the transaction, either in the request or response.  If you make some of your actions asynchronous, then those context variables may / may not be available, depending upon where you put a sync action in your rule.  Across transactions you have system variables, but they are not thread safe and there is not a mechanism to make them such.

    Regards,

    Steve

    Thanks Steve!