Forum Discussion

rsingh1988_3382's avatar
rsingh1988_3382
Icon for Altostratus rankAltostratus
Feb 02, 2018

Do multiple iControl api call consume resources?

Hi All

 

I am working on a script which is gathering virtual server information and presenting them in a indexed manner in html content. My script is making multiple(more than 1000 times) api calls to the F5 devices. I wanted to understand, if this could put me in a risk of performance issues or resource utilization issues?

 

I am a newbie in most of this stuff so any details explanation would be highly appreciated.Additionally is there a devops link/document which explains how does iControlRest works in F5?

 

3 Replies

  • Surgeon's avatar
    Surgeon
    Ret. Employee

    Every iquery call requires some CPU cycles and too excessive frequency potentially can impact performance. I am not sure home many requests per sec your script is going to call but the only way to check how it impacts performance to test it. It is totally depend on your paltform, configuration and traffic load

     

    Here some info about iControl

     

    https://clouddocs.f5.com/api/icontrol-rest/HomePage.html

     

  • As surgeon stated above, it is advisable to run stress tests first. The processes that require your special attention are httpd, restjavad and icrd_child(s) because your iControl REST requests are processed in that order (assuming TMOS version 12 or later). You may find more than one icrd_child instances.

     

  • Surgeon's avatar
    Surgeon
    Ret. Employee

    btw, I forgot to mention. It is also depend what you are trying to call. It is depend whether you are trying to get health status of one vip per request or 20 vips per request. Of course request for 20 vips in one call will cause more cpu load then status request for one vip only.