Forum Discussion
Terje_Gravvold
Nimbostratus
Jul 03, 2009iRule - Retry HTTP post request, including payload, to a secondary pool if primary pool fails
I've scripted a short iRule to handle resending of HTTP post requests, including XML payload/post data, to a secondary pool if primary fails. The rule is based iRule examples and forum posts.
...
hoolio
Cirrostratus
Jul 07, 2009That looks very good. You could add this to the Codeshare (Click here).
You might consider only retrying if the response code is a 50x. An app will respond with a 30x redirect in many scenarios. Likewise, clients (particularly search engine spiders) will often make requests to non-existent objects which generate a 40x response. It would add unnecessary latency and load to retry these requests.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects