Forum Discussion

Kris82_167334's avatar
Kris82_167334
Icon for Nimbostratus rankNimbostratus
Oct 21, 2014

Sideband : Scope for asynchronous requests

Just starting with IRules and got to know of sidebands. So my requirement is that I do not want to block the actual http request till the time request from Sideband finishes. Instead I just want to use http request as a trigger for sideband to be kicked in (based on certain conditions) and execute more in asynchronous way (or background job). The http request should be allowed to go through without causing any extra delays.

 

Is this possible currently ? Is there any other strategy I can use ?

 

  • Maybe i'm wrong but the problem here is that the irule execution is taking place in the user's connection context. So what would happen if the you finish your transaction while the sideband connection is still pending in an asynchronous fashion?

     

    What you could try to explore is not doing a sideband call to your external service but to an internal virtual server automatically responding to the the sideband request and redoing a sideband connection to your external service. This may be do the trick ?