Forum Discussion
williambb_9960
Nimbostratus
Jul 28, 2009iControl Assembly Peformance
I'm just getting started on iControl using Visual Studio 2008, pretty cool but a co-worker is telling me iControl has serious performance issues when pulling large amounts of data (i.e., all vs, pools, nodes, etc. for off-line processing). I wrote a quick routine that calls each of my nine LTM's and pulls their failover status. It runs in 2.1 seconds which does seem a bit long. Is this primarily due to authentication or is iControl a fundamentally slow API and I just have to deal with it. We're running v9.3.1 on 6400 hardware.
- Thanks for posting this question, I love ones like this. B-).
PS C:\Users\Joe> Measure-Command {$ic.ManagementDBVariable.query( "failover.state" )}
PS C:\Users\Joe> Measure-Command { snmpget bigip .1.3.6.1.4.1.3375.2.1.1.1.1.1.0 }
- williambb_9960
Nimbostratus
Joe, fantastic reply. Really appreciate the level of detail. I'm not deep enough into this to replicate your calls but you prompted me to try a couple of things. The most interesting thing I found is it's the first call to the iControl assembly that seems to cause the most latency. In these two examples (calling each of 9 LTMs once and then calling 1 LTM 9 times it's the first call that accounts for approx 75% of the total run time. This is the code and below are the results. I made sure to capture only the time making the connection to the LTM and getting failover state. I would have expected each call to consume approx the same time within a reasonable variance. Not the case... anybody got any ideas why? On the plus side, it implies that I may have some up-front latency on my first call to any LTM in my code, but things get pretty sweet from there on out. - williambb_9960
Nimbostratus
I just noticed the posting took out the indents from my code example. Not sure why, but I really do use them
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