API usage vs. load on FW

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API usage vs. load on FW

L2 Linker

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?

1 accepted solution

Accepted Solutions

L4 Transporter

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

View solution in original post

2 REPLIES 2

Cyber Elite
Cyber Elite

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.

L4 Transporter

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

  • 1 accepted solution
  • 2010 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!