Forum Discussion
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?
- SurgeonRet. 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
 
- Satoshi_Toyosa1Ret. Employee
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.
- SurgeonRet. 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.
Recent Discussions
Related Content
* 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