News for hackers. Stuff that matters.
Re:I Can't Wait for NoSQL to Die by japherwocky on Saturday March 27, 2010 @03:17PM (#1223470)
I got downvoted awfully last night for trying to say this, but I'll say it again to back you up:

Developing with mongodb is _lightning fast_ and holds up very very well. If you end up with problems, switch to SQL later!

I don't think a lot of these people hating on the nosql projects have actually tried building something with them.

Re:I Can't Wait for NoSQL to Die by simonw on Saturday March 27, 2010 @03:45PM (#1223511)
I dunno... I find the combination of the Django ORM and South (in particular the --auto flag for auto-creating migrations) is incredibly productive. With the ORM, I can conjure up a query that answers pretty much any question I might have of my data. I've experimented with MongoDB (and a bunch with Redis) and I find I'm much more likely to end up with a query that I can't resolve without having to do a bunch of extra work.

Most of this is probably having expertise with the tools, but I find that for rapid prototyping the ability to run relational queries is really important, especially since query performance during the prototyping phase isn't really an issue.

Re:I Can't Wait for NoSQL to Die by paulgb on Saturday March 27, 2010 @05:59PM (#1223758)
I've found that relational ORMs force me to write convoluted and weird code for all but the simplest of joins. Maybe django's ORM is better; I've mostly used SQLAlchemy and a few others.
Re:I Can't Wait for NoSQL to Die by rbanffy on Saturday March 27, 2010 @09:22PM (#1224037)
You know that you can use SQL with Django, if you have an insanely convoluted join.
Re:I Can't Wait for NoSQL to Die by codexon on Saturday March 27, 2010 @06:25PM (#1223803)
Switching back and forth between Mongo and SQL is not without technical cost. The syntax and semantics are quite different and translating complex queries to map/reduce is also a problem.
Re:I Can't Wait for NoSQL to Die by mikebo on Saturday March 27, 2010 @07:49PM (#1223931)
I agree that developing with MongoDB is really really nice. We'll see how it holds up under more load, but for prototyping data models I have not used a better stack than mongodb + mongomapper
Re:I Can't Wait for NoSQL to Die by richcollins on Saturday March 27, 2010 @05:42PM (#1223733)
Why is it faster?
Re:I Can't Wait for NoSQL to Die by paulgb on Saturday March 27, 2010 @06:04PM (#1223770)
It doesn't force you to fit non-tabular (eg. hierarchical) data into a table structure.

Also, no schema means the data structure is more malleable. With the right ORM, this fits in well nicely with polymorphism: I can store objects with some common features in the same collection, but when I retrieve them from the database I get different types of objects which inherit the same base object. mongoengine is one ORM that does this.

Re:I Can't Wait for NoSQL to Die by heresy on Saturday March 27, 2010 @11:58PM (#1224179)
Nice. But I have a difficult time seeing how storing "malleable" data like that, opaque to the storage engine, is going to be performant for querying.

Must be nice to have requirements that never change once you've decided on a data representation...

Re:I Can't Wait for NoSQL to Die by paulgb on Sunday March 28, 2010 @01:15AM (#1224238)
The database is still aware of the fields, so MongoDB can build indices on certain fields if you wish. Admittedly I haven't deployed Mongo in an environment that really tested its performance, but we've been serving about 20k pageviews per day with no issues. Granted, this was a fairly basic application.

As for changing requirements, mongo handled those well too.

It's certainly not a silver bullet, but when I just need a basic object store the query performance trade-off is worth it.

Re:I Can't Wait for NoSQL to Die by richcollins on Sunday March 28, 2010 @01:08PM (#1224863)
Does MongoDB manage indexes for you?
Re:I Can't Wait for NoSQL to Die by japherwocky on Saturday March 27, 2010 @06:44PM (#1223831)
you don't even have to think about schemas or SQL, you can focus completely in whatever your language of choice is.