Closed als1860 closed 6 years ago
RequestLimit (cc-rps) : "CloudController Polling request by second" tickerTime(cc-pull-time): "CloudController Polling time in sec"
Both of them are related, f2s has a caching system, meaning to get app name, org name and space we need to pull the CloudController.
Currently we fully pull the CC the first time f2s is starting, unless the cache db file is there. Then we fully every cc-pull-time
.
If we got an application id that is not in the cache db, basically if an app is push between the last and next pulling time, we request to the CC the app information.
To pull application information before we use a bad cloudcontroller call
called IRD2. This was putting load on the CC as there was not limit on the number of object fetch by the CC.
If cc-pull-time
is 0 then we do not fully pull the CC and we request app information for every new app.
The cc-rps only apply to the full pull when we reload information every cc-pull-time
. The RPS is truly 50 by default.
What is a good rule of thumb for scaling firehose-to-syslog instances One by Traffic controller should be enough. But if you syslog endpoint is slow to ingest logs well f2s is going to throw your logs message.
No Magic here
Awesome. Thanks for the response. I think this will be very helpful. Just to make sure I understand the behaviors.
Is application data ever purged from the cache, if so how is it determined when to purge it?
Thanks. Alan.
For cc-pull-time = 0
F2S will pull only a startup.
We don't purge the Data for now. If someone got the issue with the size of the dataset. We can add this options.
My questions.
Thanks. Alan.