nagira icon indicating copy to clipboard operation
nagira copied to clipboard

Any way to speed up 404s or current_state for hosts?

Open zerocarbthirty opened this issue 8 years ago • 0 comments

Hi there,

Is there any way to speed up how long it takes for Nagira to return a 404 when a hostname is not found?

Also is there a more efficient way of getting 'current_state' for a host other than doing this?

10.1.0.1:4567/_status/hostname

performance numbers all over the place:

10.1.0.9 - - [29/Feb/2016:15:09:35 -0500] "GET /_status/srv181 HTTP/1.1" 404 59 0.3411 10.1.0.9 - - [29/Feb/2016:15:09:35 -0500] "GET /_status/srv183 HTTP/1.1" 404 59 0.0024 10.1.0.9 - - [29/Feb/2016:15:09:36 -0500] "GET /_status/srv184 HTTP/1.1" 404 59 0.0021 10.1.0.9 - - [29/Feb/2016:15:09:38 -0500] "GET /_status/srv185 HTTP/1.1" 404 59 0.0021 10.1.0.9 - - [29/Feb/2016:15:09:40 -0500] "GET /_status/srv186 HTTP/1.1" 404 59 0.0021 10.1.0.9 - - [29/Feb/2016:15:09:40 -0500] "GET /_status/srv187 HTTP/1.1" 404 59 0.0021 10.1.0.9 - - [29/Feb/2016:15:09:43 -0500] "GET /_status/srv189 HTTP/1.1" 404 59 0.1617 10.1.0.9 - - [29/Feb/2016:15:09:43 -0500] "GET /_status/srv193 HTTP/1.1" 404 59 0.0022 10.1.0.9 - - [29/Feb/2016:15:09:43 -0500] "GET /_status/srv194 HTTP/1.1" 404 59 0.0020 10.1.0.9 - - [29/Feb/2016:15:09:43 -0500] "GET /_status/srv195 HTTP/1.1" 404 59 0.0020 10.1.0.9 - - [29/Feb/2016:15:09:44 -0500] "GET /_status/srv197 HTTP/1.1" 404 59 0.0028 10.1.0.9 - - [29/Feb/2016:15:09:44 -0500] "GET /_status/srv141 HTTP/1.1" 404 59 0.0138 10.1.0.9 - - [29/Feb/2016:15:09:45 -0500] "GET /_status/srv156 HTTP/1.1" 404 59 0.0022 10.1.0.9 - - [29/Feb/2016:15:09:45 -0500] "GET /_status/srv198 HTTP/1.1" 404 59 0.0021 10.1.0.9 - - [29/Feb/2016:15:09:45 -0500] "GET /_status/srv199 HTTP/1.1" 404 59 0.0021 10.1.0.9 - - [29/Feb/2016:15:09:45 -0500] "GET /_status/srv201 HTTP/1.1" 404 59 0.0024

zerocarbthirty avatar Feb 29 '16 20:02 zerocarbthirty