简体   繁体   English

如何使Cassandra节点参与多个集群?

[英]How to enable a Cassandra node to participate in multiple cluster?

I want to use Cassandra cluster for some specific purpose across data centers. 我想将Cassandra群集用于跨数据中心的某些特定目的。 What I want to figure out is how can I enable a single Cassandra node to participate in multiple clusters at the same time? 我想弄清楚的是,如何使单个Cassandra节点能够同时参与多个集群? I googled it, however I could not find any use case of Cassandra as I mentioned above. 我用谷歌搜索,但是如上所述,我找不到Cassandra的任何用例。 Is this possible with the current architecture of Cassandra? 当前的Cassandra架构有可能吗?

Thanks 谢谢

You cannot do that. 你不能这样做。 By design all nodes in Cassandra cluster ate equal. 通过设计,Cassandra群集中的所有节点都相等。 I think Cassandra designers had that very goal in mind and wanted to depart from MongoDB architecture where you have several different kinds of nodes. 我认为Cassandra设计师的目标就是实现这一目标,并希望脱离拥有多种节点类型的MongoDB架构。 So, all nodes are equal, thus no way to have "special purpose" node even in a single cluster. 因此,所有节点都是相等的,因此即使在单个群集中也无法拥有“特殊目的”节点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM