forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
21 lines
3.0 KiB
HTML
21 lines
3.0 KiB
HTML
<a name="dcs-faq-0220721"></a><a name="dcs-faq-0220721"></a>
|
|
|
|
<h1 class="topictitle1">Why Is Flow Control Triggered? How Do I Handle It?</h1>
|
|
<div id="body8662426"><p id="dcs-faq-0220721__en-us_topic_0000001357973609_p11171144915210">Flow control is triggered when the traffic used by a Redis instance in a period exceeds the maximum bandwidth.</p>
|
|
<div class="note" id="dcs-faq-0220721__en-us_topic_0000001357973609_note19860103015720"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dcs-faq-0220721__en-us_topic_0000001357973609_p662045412561">For details about the maximum allowed bandwidth, see the "Assured/Maximum Bandwidth" column of different instance types listed in <a href="en-us_topic_0054235835.html">DCS Instance Specifications</a>.</p>
|
|
</div></div>
|
|
<p id="dcs-faq-0220721__en-us_topic_0000001357973609_p1273182501517">Even if the bandwidth usage is low, flow control may still be triggered. The real-time bandwidth usage is reported once in each reporting period. Flow controls are checked every second. The traffic may surge within seconds and then fall back between reporting periods. By the time the bandwidth usage is reported, it may have already restored to the normal level.</p>
|
|
<p id="dcs-faq-0220721__en-us_topic_0000001357973609_p206341115114814">For master/standby instances:</p>
|
|
<ul id="dcs-faq-0220721__en-us_topic_0000001357973609_ul117685904813"><li id="dcs-faq-0220721__en-us_topic_0000001357973609_li517635914813">If flow control is always triggered when the bandwidth usage is low, there may be service microbursts or big or hot keys. In this case, check for big or hot keys.</li><li id="dcs-faq-0220721__en-us_topic_0000001357973609_li21761559164816">If the bandwidth usage remains high, the bandwidth limit may be exceeded. In this case, expand the capacity. Larger capacity supports higher bandwidth.</li></ul>
|
|
<p id="dcs-faq-0220721__en-us_topic_0000001357973609_p737634574812">For cluster instances:</p>
|
|
<ul id="dcs-faq-0220721__en-us_topic_0000001357973609_ul20813103175118"><li id="dcs-faq-0220721__en-us_topic_0000001357973609_li188139365110">If flow control is triggered only on one or a few shards, the shards may have big or hot keys.</li><li id="dcs-faq-0220721__en-us_topic_0000001357973609_li178131439513">If flow control or high bandwidth usage occurs on all or most shards at the same time, bandwidth usage of the instance has reached the limit. In this case, expand the instance capacity.</li></ul>
|
|
<div class="note" id="dcs-faq-0220721__en-us_topic_0000001357973609_note13959936343"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dcs-faq-0220721__en-us_topic_0000001357973609_p16190307316">You can analyze big keys and hot keys on the DCS console. For details, see <a href="dcs-ug-190808001.html">Cache Analysis</a>.</p>
|
|
</div></div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dcs-faq-0326023.html">Monitoring and Alarm</a></div>
|
|
</div>
|
|
</div>
|
|
|