Hi, We are trying to impose resource restrictions (mainly memory/network) on Ratis Server. However, configurations (such as bufferLimit of PendingRequests) in RaftServerConfigKeys are fixed after starting up and we cannot hot update them.
Consider the scenario: when we detect that a single group becomes the hotspot, we would like to increase its resource quota so that it can better serve the peak traffic. A workaround is that we can estimate the peak value and pre-allocate corresponding resource quote during start-up, but the extra resources are wasted during normal traffic. Also, the estimation may not always be accurate. Is it possible to dynamically hot update the resource quota? Or are there other resolutions on above scenario? Regards, William
