Files
doc-exports/docs/dcs/umn/CacheSingleNode.html
chenjunjie fcbcabfb7d DCS UMN 20251222 version
Reviewed-by: Liudmila Denisova <ldenisov@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: chenjunjie <chenjunjie@huawei.com>
Co-committed-by: chenjunjie <chenjunjie@huawei.com>
2026-04-20 14:27:46 +00:00

31 lines
4.5 KiB
HTML

<a name="CacheSingleNode"></a><a name="CacheSingleNode"></a>
<h1 class="topictitle1">Single-Node Redis</h1>
<div id="body1600250973735"><p id="CacheSingleNode__p14829184616197">A single-node DCS Redis instance has only one node and does not support data persistence. They are suitable for cache services that do not require data reliability.</p>
<div class="note" id="CacheSingleNode__note5258316142416"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="CacheSingleNode__ul1225591220208"><li id="CacheSingleNode__li925551214201">The major version cannot be upgraded. For example, a single-node DCS Redis 4.0 instance cannot be upgraded to a single-node DCS Redis 5.0 one. If you need Redis features of later versions, create a DCS Redis instance of a later version and then migrate data from the earlier instance to the new one.</li><li id="CacheSingleNode__li1525561282018">Single-node instances cannot ensure data persistence and do not support manual or scheduled data backup. Exercise caution before using them.</li></ul>
</div></div>
<div class="section" id="CacheSingleNode__section19260552619"><h4 class="sectiontitle">Features</h4><ol id="CacheSingleNode__ol67507623011"><li id="CacheSingleNode__li11291719163215">Low-cost and suitable for development and testing<p id="CacheSingleNode__p763085119554"><a name="CacheSingleNode__li11291719163215"></a><a name="li11291719163215"></a>Single-node instances are 40% cheaper than master/standby DCS instances, suitable for setting up development or testing environments.</p>
</li><li id="CacheSingleNode__li12678143615299">Non-persistent data<p id="CacheSingleNode__p156787362294"><a name="CacheSingleNode__li12678143615299"></a><a name="li12678143615299"></a>Data persistence is not ensured through one master node for single-node instances. The data cannot be backed up.</p>
</li></ol>
</div>
<div class="section" id="CacheSingleNode__section350919180019"><h4 class="sectiontitle">Architecture</h4><p id="CacheSingleNode__p169821159154813"><a href="#CacheSingleNode__fig1674742511276">Figure 1</a> shows the architecture of single-node DCS Redis instances.</p>
<div class="note" id="CacheSingleNode__note12240134982910"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="CacheSingleNode__p11242249122915">To access a DCS Redis 3.0 instance, you must use port 6379. To access a DCS Redis 4.0 or later instance, you can customize the port. If no port is specified, the default port 6379 will be used. In the following architecture, port 6379 is used. If you have customized a port, replace <strong id="CacheSingleNode__b1442135013241">6379</strong> with the actual port.</p>
</div></div>
<div class="fignone" id="CacheSingleNode__fig1674742511276"><a name="CacheSingleNode__fig1674742511276"></a><a name="fig1674742511276"></a><span class="figcap"><b>Figure 1 </b>Single-node DCS Redis instance architecture</span><br><span><img class="eddx" id="CacheSingleNode__image12747425102719" src="en-us_image_0000002416373129.png"></span></div>
<p id="CacheSingleNode__p153106583326">Architecture description:</p>
<ul id="CacheSingleNode__ul1631417191120"><li id="CacheSingleNode__li20179270479"><strong id="CacheSingleNode__b264814218559">VPC</strong><p id="CacheSingleNode__p89401530124718">All server nodes of the instance run in the same VPC.</p>
<div class="note" id="CacheSingleNode__note04501339113"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="CacheSingleNode__p124516392019">For intra-VPC access, the client and the instance must be in the same VPC.</p>
</div></div>
</li><li id="CacheSingleNode__li017927194718"><strong id="CacheSingleNode__b386793812488">Application</strong><p id="CacheSingleNode__p36064574817">The client of the instance, which is the application running on an Elastic Cloud Server (ECS).</p>
<p id="CacheSingleNode__p19314439510">DCS Redis instances are compatible with the Redis protocol, and can be accessed through open-source clients. For details about accessing DCS instances, see <a href="dcs-ug-0916002.html">Accessing an Instance</a>.</p>
</li><li id="CacheSingleNode__li81722784711"><strong id="CacheSingleNode__b18417232969">DCS instance</strong><p id="CacheSingleNode__p18848151812814">A single-node DCS instance, which has only one node and one Redis process.</p>
</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dcs-pd-200312001.html">DCS Instance Types</a></div>
</div>
</div>