- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-24-2017 09:55 AM
So, in general, are API calls considered a threat to the FW performance?
Specifically, with this API call:
?type\=op\&cmd\=\<show\>\<session\>\<info\>\</info\>\</session\>\</show\>
Should I worry if I run it every second, or 5 seconds, or minute....?
Is there a way to quatify the impact of an API call in general?
05-01-2017 01:39 PM
This is a "Your milage may vary" situation since the answer can depend on many factors including current management load, model of firewall, specific API call, etc. Here are a couple guidelines to help you:
1. API calls are made to the management plane which is completely separate from the data plane, so load from API calls and load from traffic are processed seperately and generally won't affect each other.
2. If you can run the CLI version of the API call every second without issue, then you can run the related API call every second without issue.
Hope that helps,
-Brian
05-01-2017 12:40 PM
It really depends on the call since you could potentially be starting a job/process that takes a bit of resources, or running a query on detailed logs that is pretty broad. As far as your specific call goes, I wouldn't be to terribly worried about running it as it's not like you are asking the firewall to do a large amount of processing.
05-01-2017 01:39 PM
This is a "Your milage may vary" situation since the answer can depend on many factors including current management load, model of firewall, specific API call, etc. Here are a couple guidelines to help you:
1. API calls are made to the management plane which is completely separate from the data plane, so load from API calls and load from traffic are processed seperately and generally won't affect each other.
2. If you can run the CLI version of the API call every second without issue, then you can run the related API call every second without issue.
Hope that helps,
-Brian
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!