Forum Discussion

Logan_Ramirez_5's avatar
Logan_Ramirez_5
Icon for Nimbostratus rankNimbostratus
May 26, 2009

overhead and need to close iControl connection ?

hello f5 forum.

 

i have very much enjoyed reading the many topics here, as well as, using the most excellent documentation to build my first iControl app.

 

 

I have the 'dashboard' mostly built and was just setting up my page to auto-refresh every 60s when when a terrible thought popped into my head..."what if I am opening up a new connection every 60s and it stays open on the LTM?"

 

 

That question, was then quickly followed with, "what exactly is going on when I initialize the interface? And how much impact does that put on the LTM's performance?"

 

 

In the end, what I'm hoping is to get some feedback to better understanding what happens when the program runs, calling the initialize_interface then pulling all of the information.

 

 

From what I can tell (using, what else, tcpdump!), it's all web traffic (:443), but are there any persistent connections I should be concerned with? Any 'overhead' that I should be 'programming' to clean up?

 

 

Appreciate the support.

 

  • It really depends on your client toolkit as to what persistent connections are taking hold. The iControl assembly for .Net and Java, as well as SOAP::Lite for Perl all make independent connections for each request. The initialize method in the assemblies merely tests the credentials on a get_version() method to see that they will work.

     

     

    So, unless you've built your own client soap library, you shouldn't have to worry about persistent connections to the management interface.

     

     

    -Joe
  • Thanks, Joe!

     

     

    Dude, I see your face everywhere in these forums...while you do not know it, you've already helped me several times!

     

     

    (I've got another question, but it's a different topic so I'm going to go start a new thread...)

     

     

    you the man!
  • Awesome, I'm glad that I could help you out! Post away if anything else comes up...

     

     

    -Joe