Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
kubernetes-operator-1.6.0
-
Minimize ConfigMap operations for autoscaler state
Description
The newly introduced flush operation after the refactoring the autoscaler interfaces, optimizes the number of write operations to the underlying state store. A couple of further optimizations:
1. Any writes should be deferred until flush is called.
2. The flush routine should detect whether a write is needed and writing if there are no changes
3. Clearing state should only require one write operation.