noSQL Amazon ec2(有什么建议吗?)
对此有很多讨论,但我仍然不清楚什么是最好的解决方案。
我目前正在考虑 MongoDB。你觉得这样好吗?
卡桑德拉呢?
另外,ThruDB看起来不错,但似乎没有正式发布。
There are a lot of discussion on this but I still don't have clear idea what is the best solution.
I am currently considering MongoDB. Do you think it's good?
What about Cassandra?
Besides, ThruDB looks good but seems there is no official release.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
全面披露:我是 MongoDB 的核心开发人员。 (另外,我将全面披露 jbellis:他是 Cassandra 的核心开发人员。)
与其他数据库相比,我更喜欢 Mongo,因为它不仅是最容易使用的数据库,而且还具有大量功能(地理空间索引) 、简单的文件存储、二级索引等等)并且速度快得令人难以置信。
水平扩展距离生产就绪大约需要 1 个月的时间,但人们已经成功使用它。我刚刚在 MongoSF 上看到了一个演讲,其中一位开发人员建立了一个由 25 个 EC2 实例组成的集群,每秒处理 800 万次操作!
如果您有任何疑问,MongoDB 邮件列表非常活跃且很有帮助。
Full disclosure: I'm a core developer for MongoDB. (Also, I'll full-disclose for jbellis: he is a core developer for Cassandra.)
I prefer Mongo to the other databases out there because it's not only the easiest one to use, but it also has tons of features (geospatial indexing, easy file storage, secondary indexes, on and on) and is incredibly fast.
Horizontal scaling is ~1 month from production-ready, but people are already using it successfully. I just saw a talk at MongoSF where a developer set up a cluster of 25 EC2 instances handling 8 million operation per second!
The MongoDB mailing list is very active and helpful if you have any questions.
ThruDB的作者现在正在使用Cassandra。 (参见 Lucene 的 Cassandra 后端,http://github.com/tjake/Lucandra)。
与 MongoDB 相比,mongo 更容易上手(非常接近“无模式 mysql”),但无法扩展。 Cassandra 可以扩展,但数据模型对于大多数人来说更困难。
一些入门要点位于 http://wiki.apache.org/cassandra/ArticlesAndPresentations
The author of ThruDB is using Cassandra now. (See e.g. his Cassandra backend for Lucene, http://github.com/tjake/Lucandra).
Vs MongoDB, mongo is easier to pick up (very close to "schemaless mysql"), but doesn't scale. Cassandra scales but the data model is harder for most people.
Some getting started points at http://wiki.apache.org/cassandra/ArticlesAndPresentations
我已经尝试使用 Mongo DB 几天了。最初的体验很棒,但最终我也遇到了性能问题。
当记录太多时,Mongo DB 性能会下降。我的意思是太多是超过1000万条记录。 (我想一般情况下你不会有这么多记录。)
我还没有尝试过Mongo DB的复制功能。我目前正在使用 Amazon EC2,但仍在为启动更多服务器的成本而苦苦挣扎。 (特别是Mongo要求我使用64位平台,以克服2GB的限制。)
I have attempted to use Mongo DB for a couple of days. The initial experience is great but eventually I got performance issue too.
Mongo DB performance drops when you have too many records. What I mean too many is more than 10 millions records. (I guess generally you won't have so many records.)
I haven't try the replication feature of Mongo DB. I am currently using Amazon EC2 and I am still struggling the cost in launching more servers. (Especially Mongo requires me to use the 64 bit platform, to overcome the 2GB limits.)
Amazon 最近推出了其 NoSQL 可扩展数据库,称为 DynamoDB:
http://aws.amazon.com/dynamodb/
Amazon recently launched its NoSQL scalable DB, called DynamoDB:
http://aws.amazon.com/dynamodb/
亚马逊的 SimpleDB 怎么样?
What about Amazon's SimpleDB?