REST API stress behaviour
Posted: Sat May 05, 2018 1:53 am
Good Morning,
i have a question regarding the behaviour af the API functions when there is stress.
To be more precise heres an example:
I want to implement a routine in productive thin Clients to configure themselves in Nagios via REST Call when the main Application starts up.
Further i would like to make them delete themselves when the Host is shut down normally.
Now the concern is the following:
In our Environment we have something like 500 of these clients. Because of other Problems these Clients a sceduled to reboot each Sunday at the same time.
That means that they would delete themselves from nagios all at the same time to reconfigure themselves also all at the same time.
How would the REST API react to that...
Following that concern:
The Clients would have to apply the configuration in order to activate the monitoring. (we also install and reboot single clients)
How would the Api react to a bunch of requests which all come with an apply command nearly at the same instant???
And finally:
Is there a way to block the apply command from the API when someone is working on the core configuration?
We dont whant to have half completed changes applied when we are configuring something and out there in the production someone restarts any client..
Can you follow my concerns? Can you give some information an these cases?
i have a question regarding the behaviour af the API functions when there is stress.
To be more precise heres an example:
I want to implement a routine in productive thin Clients to configure themselves in Nagios via REST Call when the main Application starts up.
Further i would like to make them delete themselves when the Host is shut down normally.
Now the concern is the following:
In our Environment we have something like 500 of these clients. Because of other Problems these Clients a sceduled to reboot each Sunday at the same time.
That means that they would delete themselves from nagios all at the same time to reconfigure themselves also all at the same time.
How would the REST API react to that...
Following that concern:
The Clients would have to apply the configuration in order to activate the monitoring. (we also install and reboot single clients)
How would the Api react to a bunch of requests which all come with an apply command nearly at the same instant???
And finally:
Is there a way to block the apply command from the API when someone is working on the core configuration?
We dont whant to have half completed changes applied when we are configuring something and out there in the production someone restarts any client..
Can you follow my concerns? Can you give some information an these cases?