TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Modeling Data in MongoDB vs. ArangoDB

41 pointsby spountzyover 10 years ago

7 comments

tedchsover 10 years ago
This actually looks pretty interesting. I appreciate their FAQ has a great answer to &quot;What is ArangoDB and for what kind of applications is it designed for?&quot; -- more projects need to offer this kind of statement. <a href="https://www.arangodb.com/faq" rel="nofollow">https:&#x2F;&#x2F;www.arangodb.com&#x2F;faq</a>
评论 #8573763 未加载
wiremineover 10 years ago
Does ArangoDB use the same storage strategy MongoDB does? From the FAQ:<p>&quot;So how much RAM do you need? This depends on the size and structure of your data: Your application will access one or many collections (think of collections as denormalized tables for the time being). Once you open a collection the indexes for this collection are created in the RAM and the data is loaded into the RAM using memory-mapped files. If your collections are bigger than your RAM, the operation system will be forced to swap data in and out of the swap space.&quot;<p>I&#x27;m not an expert, but a lot of people seem to harp on MongoDB for this very reason. Does ArangoDB use the same strategy? If not, how is it similar&#x2F;different?
评论 #8573683 未加载
neunhoefover 10 years ago
Interesting article. An obvious reaction is to say: &quot;In a document store, not all joins will be efficient in a sharding situation!&quot;. This is true, but certain queries involving joins backed by the right secondary indexes will indeed scale well, therefore one should not use this argument as a reason not to implement joins at all.
评论 #8573202 未加载
Leratoover 10 years ago
Is there a rule of thumb, in which situation you would model your connection as foreign key and in which situation you would model it as graph? Or do you always use graphs?
评论 #8573764 未加载
评论 #8573558 未加载
评论 #8573531 未加载
评论 #8573366 未加载
MillstoneXover 10 years ago
I like that ArangoDB can be extended by micro services. Does this not raise security concerns, because user code is executed on the DB server?
评论 #8574050 未加载
aikahover 10 years ago
First time i&#x27;ve heard about ArangoDB ,and it looks quite interesting.<p>When did the project start?<p>Could the Foxx thing be an independent application ?
评论 #8574094 未加载
dangover 10 years ago
No astroturfing on HN, please.
评论 #8574435 未加载