Hi William,

It is a great idea to support hot updates!  Recall that HDFS does support
reconfiguration (hdfs dfsadmin -reconfig) to change configuration
properties in runtime.  We might have a similar approach.

Tsz-Wo


On Tue, Oct 11, 2022 at 8:01 PM William Song <[email protected]> wrote:

> 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
>
>
>

Reply via email to