doc-exports/docs/dcs/umn/CacheCluster.html
Chen, Junjie ea05d1a734 DCS UMN Initial Version
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>
2022-12-12 14:07:56 +00:00

74 lines
7.7 KiB
HTML

<a name="CacheCluster"></a><a name="CacheCluster"></a>
<h1 class="topictitle1">Proxy Cluster Redis</h1>
<div id="body1600250975360"><p id="CacheCluster__p16121033102019">DCS provides two types of cluster Redis instances: Proxy Cluster and Redis Cluster. Proxy Cluster uses Linux Virtual Server (LVS) and proxies. Redis Cluster is the native distributed implementation of Redis. Proxy Cluster instances are compatible with Redis 3.0, while Redis Cluster instances are compatible with Redis 4.0 and 5.0.</p>
<p id="CacheCluster__p13103105219146">This section describes Proxy Cluster DCS Redis 3.0 instances.</p>
<div class="note" id="CacheCluster__note134811721192210"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="CacheCluster__ul1758133822318"><li id="CacheCluster__li758133852319">A Proxy Cluster instance can be connected in the same way that a single-node or master/standby instance is connected, without any special settings on the client. You can use the IP address or domain name of the instance, and do not need to know or use the proxy or shard addresses.</li></ul>
</div></div>
<div class="section" id="CacheCluster__section861823615325"><h4 class="sectiontitle">Proxy Cluster DCS Redis 3.0 Instances</h4><p id="CacheCluster__p10878151913448">Proxy Cluster DCS Redis 3.0 instances are compatible with <a href="https://github.com/CodisLabs/codis" target="_blank" rel="noopener noreferrer">codis</a>. The specifications range from 64 GB to 1024 GB, meeting requirements for <strong id="CacheCluster__b13211893475612">millions of concurrent connections</strong> and <strong id="CacheCluster__b45541541375612">massive data cache</strong>. Distributed data storage and access is implemented by DCS, without requiring development or maintenance.</p>
<p id="CacheCluster__p186619405101">Each Proxy Cluster instance consists of load balancers, proxies, cluster managers, and <a href="dcs-pd-200312004.html#dcs-pd-200312004__en-us_topic_0145956240_section20999323134412">shards</a>.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CacheCluster__table13310319184" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Specifications of Proxy Cluster DCS Redis 3.0 instances</caption><thead align="left"><tr id="CacheCluster__row9312131191817"><th align="left" class="cellrowborder" valign="top" width="28.52%" id="mcps1.3.4.4.2.4.1.1"><p id="CacheCluster__p13128115183">Total Memory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="36.13%" id="mcps1.3.4.4.2.4.1.2"><p id="CacheCluster__p231214131810">Proxies</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="35.35%" id="mcps1.3.4.4.2.4.1.3"><p id="CacheCluster__p7312101121818">Shards</p>
</th>
</tr>
</thead>
<tbody><tr id="CacheCluster__row9312111101813"><td class="cellrowborder" valign="top" width="28.52%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CacheCluster__p23121818185">64 GB</p>
</td>
<td class="cellrowborder" valign="top" width="36.13%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CacheCluster__p13123116188">3</p>
</td>
<td class="cellrowborder" valign="top" width="35.35%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CacheCluster__p1031211151819">8</p>
</td>
</tr>
<tr id="CacheCluster__row15312516185"><td class="cellrowborder" valign="top" width="28.52%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CacheCluster__p531216111189">128 GB</p>
</td>
<td class="cellrowborder" valign="top" width="36.13%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CacheCluster__p143127110182">6</p>
</td>
<td class="cellrowborder" valign="top" width="35.35%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CacheCluster__p33129111183">16</p>
</td>
</tr>
<tr id="CacheCluster__row1131211118187"><td class="cellrowborder" valign="top" width="28.52%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CacheCluster__p1731215112181">256 GB</p>
</td>
<td class="cellrowborder" valign="top" width="36.13%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CacheCluster__p73123113185">8</p>
</td>
<td class="cellrowborder" valign="top" width="35.35%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CacheCluster__p73121116182">32</p>
</td>
</tr>
<tr id="CacheCluster__row5312131161819"><td class="cellrowborder" valign="top" width="28.52%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CacheCluster__p531251181811">512 GB</p>
</td>
<td class="cellrowborder" valign="top" width="36.13%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CacheCluster__p531214119184">16</p>
</td>
<td class="cellrowborder" valign="top" width="35.35%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CacheCluster__p1831361191817">64</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="fignone" id="CacheCluster__fig10333132616620"><span class="figcap"><b>Figure 1 </b>Proxy Cluster DCS Redis instance architecture</span><br><span><img id="CacheCluster__image203718541976" src="en-us_image_0000001383102132.png"></span></div>
<p id="CacheCluster__p153106583326">Architecture description:</p>
<ul id="CacheCluster__ul2171627184718"><li id="CacheCluster__li20179270479"><strong id="CacheCluster__b264814218559">VPC</strong><p id="CacheCluster__p89401530124718">All server nodes of the instance run in the same VPC.</p>
<div class="note" id="CacheCluster__note04501339113"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="CacheCluster__p124516392019">For intra-VPC access, the client and the instance must be in the same VPC with specified security group rule configurations.</p>
<p id="CacheCluster__p14803202620398">For details, see <a href="en-us_topic_0090662012.html">Security Group Configurations</a>.</p>
</div></div>
</li><li id="CacheCluster__li017927194718"><strong id="CacheCluster__b151362176475612">Application</strong><p id="CacheCluster__p36064574817">The client used to access the instance.</p>
<p id="CacheCluster__p19314439510">DCS Redis instances 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="CacheCluster__li2171327154716"><strong id="CacheCluster__b1643674835519">LB-M/LB-S</strong><p id="CacheCluster__p170153810483">The load balancers, which are deployed in master/standby HA mode. The connection addresses (<strong id="CacheCluster__b28415079775612">IP address:Port</strong>) of the cluster DCS Redis instance are the addresses of the load balancers.</p>
</li><li id="CacheCluster__li81722784711"><strong id="CacheCluster__b7800450165513">Proxy</strong><p id="CacheCluster__p828195918488">The proxy server used to achieve high availability and process high-concurrency client requests.</p>
<p id="CacheCluster__p168416553415">You can connect to a Proxy Cluster instance at the IP addresses of its proxies.</p>
</li><li id="CacheCluster__li1517172714478"><strong id="CacheCluster__b135271352145516">Redis shard</strong><p id="CacheCluster__p1988663312352">A shard of the cluster.</p>
<p id="CacheCluster__p44212486499">Each shard consists of a pair of master/standby nodes. If the master node becomes faulty, the standby node automatically takes over cluster services.</p>
<p id="CacheCluster__p195614253518">If both the master and standby nodes of a shard are faulty, the cluster can still provide services but the data on the faulty shard is inaccessible.</p>
</li><li id="CacheCluster__li1417327144713"><strong id="CacheCluster__b129817557557">Cluster manager</strong><p id="CacheCluster__p8379134205511">The cluster configuration managers, which store configurations and partitioning policies of the cluster. You cannot modify the information about the configuration managers.</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>