Forum Discussion
Steven_Filisko_
Jan 02, 2015Nimbostratus
iRule "proc" Question
With the inclusion of the powerful "proc" feature, I am trying to write a library rule for common functionality, standardized logging, etc...
So we can "[call lib_rule::FUNCTION]" from other iRu...
Amit_Karnik
Jan 05, 2015Nimbostratus
I would avoid using the tcl proc to define user defined libraries.
I have not seen explicit documentation indicating that what happens with respect the Clustered Multi Processing especially if your library has any static variables.
Also your library has to be bug-free, since any error will not just affect the current connection but the overall tmm process.
My recommendation is to just use iRule snippets for what you want done on the same event and then use iRule event priorities. Ofcourse this approach may not apply to all situations.
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