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.

Call me maybe: MongoDB (2013)

93 pointsby cirwinalmost 11 years ago

7 comments

garretrazielalmost 11 years ago
I&#x27;m building small application using Node.js and MongoDB and I&#x27;m planning to host it on Openshift or Heroku. All that hate that MongoDB takes here on HN makes me reconsider technologies I am using.<p>I will not have many relations in my database (model User, model Document, User owns Document... and that&#x27;s all) so I thought that NoSQL databases will do. Plus, MongoDB lets me use GridFS - I&#x27;m planning to store pdf presentations in it.<p>If I should drop MongoDB, what other technology should I use? Or should I fall back to Postgres + ORM and manage my files in filesystem manually?<p>I don&#x27;t want to start a flame, I am looking for an advice. I have considered MongoDB to be &quot;good enough&quot; as GridFS lets me store my files without a hassle, but after all that I read on the Internet, now I am not so sure.
评论 #7991734 未加载
评论 #7991513 未加载
评论 #7991488 未加载
评论 #7993030 未加载
评论 #7992047 未加载
评论 #7991536 未加载
评论 #7992261 未加载
评论 #7992129 未加载
StavrosKalmost 11 years ago
Is there <i>any</i> datastore in this series that behaved correctly in a partition? I&#x27;ve seen ElasticSearch, Redis, Riak, Mongo, and all of them crapped their pants.
评论 #7993042 未加载
评论 #7993015 未加载
评论 #7992377 未加载
评论 #7992451 未加载
评论 #7992346 未加载
评论 #7992356 未加载
评论 #7992474 未加载
olegpalmost 11 years ago
For all the hate MongoDB gets, I have to say building queries in server side JS using MongoDB JSON syntax rather than SQL style queries is the way to go.<p>Check out these two examples:<p><a href="https://github.com/olegp/stick-blog-pg/blob/master/lib/server.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;olegp&#x2F;stick-blog-pg&#x2F;blob&#x2F;master&#x2F;lib&#x2F;serve...</a> - uses Postgres <a href="https://github.com/olegp/stick-blog/blob/master/lib/server.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;olegp&#x2F;stick-blog&#x2F;blob&#x2F;master&#x2F;lib&#x2F;server.j...</a> - uses MongoDB - much easier to construct dynamic queries using the JSON syntax<p>There are of course plenty of other things a relational DB like Postgres has going for it, so I&#x27;ve been experimenting with having a MongoDB interface to Postgres with data stored using the JSON datatype. It&#x27;s now feature complete and passes all unit tests with read performance exceeding that of Mongo in some benchmarks:<p><a href="https://github.com/olegp/pg-mongo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;olegp&#x2F;pg-mongo</a>
评论 #7991752 未加载
评论 #7991419 未加载
评论 #7991040 未加载
评论 #7991457 未加载
评论 #7992051 未加载
_JamesA_almost 11 years ago
Does anyone have experience&#x2F;comparisons with OrientDB? <a href="http://www.orientechnologies.com/orientdb/" rel="nofollow">http:&#x2F;&#x2F;www.orientechnologies.com&#x2F;orientdb&#x2F;</a><p>It seems to be much lesser known but it ticks all the right boxes compared to other NoSQL datastores.
Gonzihalmost 11 years ago
With rise of RethinkDB it would be lovely to see similar post on it.
评论 #7991424 未加载
ulisesrmzrochealmost 11 years ago
This is ancient stuff though, is this still relevant today?
评论 #7990617 未加载
评论 #7992863 未加载
onedevalmost 11 years ago
People still use MongoDB in 2014?
评论 #7990767 未加载
评论 #7990607 未加载
评论 #7990861 未加载