简体   繁体   English

Cassandara作为复杂系统的数据库

[英]Cassandara as Database for Complex System

Can Cassandra be used for complex system for.eg Accounting like System? Cassandra可以用于复杂的系统吗,例如类似于系统的记帐? My client is looking for Big Data solution for one of the projects and he proposes to use Cassandra . 我的客户正在为其中一个项目寻找大数据解决方案,他建议使用Cassandra。 Some of the questions I have in mind are 我想到的一些问题是

  1. Does it support JTA transactions ? 它支持JTA交易吗? If not JTA then does it support normal transactions? 如果不是JTA,那么它是否支持正常交易?
  2. How flexible is it to define database model of accounting like system where we will require some sort of relational model. 定义类似系统的会计数据库模型有多灵活,我们将需要某种关系模型。
  3. Any other pros and cons you would like to highlight ? 您还要强调其他优点和缺点吗? Based on documentation I can see its easy to scale. 根据文档,我可以看到它易于扩展。

I would suggest not to use anything just for sake of using, first read about Cassandra and based on your use case make wise decision. 我建议不要仅出于使用目的而使用任何东西,首先请阅读有关Cassandra的信息,并根据您的用例做出明智的决定。

Cassandra is eventual consistent, but for accounting system you need ACID properties, which is not supported by cassandra. Cassandra最终是一致的,但是对于会计系统,您需要ACID属性,cassandra不支持。 Also cassandra transactions are different from RDBMS transactions. Cassandra事务也不同于RDBMS事务。 It support row level & each partition atomicity. 它支持行级别和每个分区的原子性。 Consider if you need to transfer money from account A to B. which are part of two different partitions, it will be difficult to maintain consistency. 考虑是否需要将资金从帐户A转移到B。这是两个不同分区的一部分,因此很难保持一致性。

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

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