TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

MongoDB vs. Cassandra - What's your choice?

3 点作者 robabbott超过 11 年前
After reading many different discussions on MongoDB vs. Cassandra, it seems to me that there are two different use cases for these products. MongoDB feels like a good fit when database accesses are done in a document-centric manner with little need for transactions and concurrency management, whereas Cassandra is a better fit for high-write, transactional, or element-based updates to data.<p>What are your thoughts?

2 条评论

hansgru超过 11 年前
&gt; MongoDB vs. Cassandra<p>None. We use OrientDB <a href="http://www.orientdb.org/" rel="nofollow">http:&#x2F;&#x2F;www.orientdb.org&#x2F;</a> (it supports more than one &quot;storage&quot; mode: <a href="http://nosql-database.org/" rel="nofollow">http:&#x2F;&#x2F;nosql-database.org&#x2F;</a> )<p>On the plus side, it&#x27;s Java based (without native stuff), so it can run existing production machines where mongo can&#x27;t be compiled (Sparc, HP, etc).<p>Another nice advantage is the support for SQL syntax, so for existing teams, the DB people won&#x27;t feel left out :).
numberwhun超过 11 年前
First, java is not a plus IMHO. Any time I have used anything java based, it&#x27;s been quite slow. You also have to deal with all the typical java issues like memory and heap space, but that is another diacussion all together. NoSQL is just that, no SQL. If you want an SQL database, use one. The creators of the nosql db&#x27;s did so for a reason, I don&#x27;t see the need to back port it in. Sorry for the rant.