In ConfD user guide documentation, there is a saying that:
State and statistics data is typically not kept in a database but read at runtime by instrumentation functions.
This can for example be counters contained inside the managed objects themselves.
An alternative to having instrumentation functions is to store state data in CDB using a write interface.
This approach can be useful when the data doesn’t change often, but is not suitable for statistics counters
in general. This technique is described in Section 8.8, “Operational data in CDB”.
In case of writing state data to CDB, what is an acceptable level of writing frequency? For instance, is it OK to write a bunch of state data to CDB in every 1 second or in every 5 seconds? What is the pitfall behind this?
Thanks in advance,