News for hackers. Stuff that matters.
Re:I Can't Wait for NoSQL to Die by rufo on Saturday March 27, 2010 @03:09PM (#1223458)
NoSQL will never die, but it will eventually get marginalized, like how Rails was marginalized by NoSQL.

Is it just me, or does this statement make absolutely no sense whatsoever?

Re:I Can't Wait for NoSQL to Die by mechanical_fish on Saturday March 27, 2010 @03:43PM (#1223506)
It doesn't make sense because it's overstated. Let me try to state his opinion differently:

NoSQL, as it exists today, is a tasty souffle composed of more air than substance. That's how the hype cycle works:

http://en.wikipedia.org/wiki/Hype_cycle

NoSQL is somewhere on that initial "peak of inflated expectations". (I don't think it's hit the top yet, but it sure is soaring.) Rails passed the peak many months ago and is somewhere to the right of the Trough of Disillusionment. [1] (I don't think it's plateaued yet: Rails still isn't quite done being invented.)

Once the hot air leaks out in a year or two, NoSQL databases will still exist, and will in fact be better understood and better built than ever, but they will no longer be a trending buzzword. That's the day that the author is devoutly wishing for.

(I, personally, find the hype cycle to be kind of fun to watch, and educational too, so I'm not as bothered by it as he is.)

---

[1] Though your mileage may vary. The world isn't perfectly connected, so there isn't just one hype cycle. It's fun watching (e.g.) Facebook sweep through the world of my parents. They get really excited by "new" technologies about two to four years after the folks on HN have moved on from them.

Re:I Can't Wait for NoSQL to Die by alextgordon on Saturday March 27, 2010 @03:45PM (#1223514)
I don't know if this is what he was trying to say, but it makes a little more sense if you change it to

NoSQL's hype will never die, but it will eventually get marginalized, like how Rails' hype was marginalized by NoSQL's hype.

Re:I Can't Wait for NoSQL to Die by wmf on Saturday March 27, 2010 @03:44PM (#1223509)
If Rails == ActiveRecord == SQL, then NoSQL implies !Rails. (This isn't true of course, but we're already dealing with oversimplifications here.)

Or maybe he's just saying that irrational NoSQL hype has replaced irrational Rails hype.

Re:I Can't Wait for NoSQL to Die by gaius on Saturday March 27, 2010 @03:56PM (#1223532)
The Rails message is "you don't need a DBA, you don't need to know SQL, just have your developers do the default install of MySQL and we'll do the rest". That is also the NoSQL message.
Re:I Can't Wait for NoSQL to Die by xal on Saturday March 27, 2010 @04:09PM (#1223549)
Speaking as a member of the rails core team, if you heard someone say that then he made it up.

Rails until 3.0 was heavily invested into SQL simply because it's what everyone used. However, it was swimming against the stream in that rails declared DBs to be something which is incrementally developed by the software through migrations instead of setup by DBAs per change tickets. This has been enormously successfully, there is probably not a single web framework left that pretends we still live in a DBA dominated world. Part of the shrapnel of this decision is that rails did away with triggers, db constrains and stored procedures but this is simply because most high volume sites don't use these things anyways because they get very hard to scale later on.

Rails past 3.0 will work natively with any data store that you can imagine. It ships something called ActiveModel which is a tiny interface that you can implement on top of Mongo, Cassanda, Redis. ActiveRecord is just the SQL incarnation of this interface.

Very high quality libraries based on ActiveModel already exist. Have a look at Cassandra Object as an example.

Re:I Can't Wait for NoSQL to Die by gaius on Saturday March 27, 2010 @04:23PM (#1223586)
this is simply because most high volume sites don't use these things anyways because they get very hard to scale later on.

If you start with the assumption that "you don't need a DBA" then that's probably true.

Just to give you an idea of my background, I work on a system using a commercial RDBMS that "scales" to thousands of commits/sec and tens of terabytes of data. We expect to take it to tens of thousands of commits (we already do that many reads!) and hundreds of teras with no major structural changes. One thing you learn in this game is that database agnosticism is a wild goose chase. To really scale, you need to intelligently choose a technology and use its features to the fullest and just accept that you will be "locked in". We couldn't port to another RDBMS if we tried because certain things, like our chosen database's locking strategy for example, are baked in to the way we do things. It's not a matter of SQL syntax. We'd be starting again from scratch, we'd need new algorithms. But we can do things, we take things for granted, that most of the Internet peanut gallery takes to be impossible, because they start from assumption that abstracting the database actually helps anything.

Re:I Can't Wait for NoSQL to Die by etaque on Saturday March 27, 2010 @05:17PM (#1223698)
I think that the message wasn't "app database-agnosticism", but "framework database-agnoticism".
Re:I Can't Wait for NoSQL to Die by nkassis on Saturday March 27, 2010 @07:34PM (#1223904)
That's what I got from it too. The framework being this flexible should help a DBA fully use the database to his advantage. The project I work on has had to do some non standard things with Rails and it's flexibility has made it much easier. In our view rails and it's default are a starting point providing the basic infrastructure to get the project going, not an end all be all solution. I see the same thing in NoSQL solutions, they try to give the developers and DBA as much flexibility as possible. They don't really seem to offer any default. RDBMS is basically the sensible defaults without the flexibility. Maybe the in between can be found.
Re:I Can't Wait for NoSQL to Die by efuquen on Sunday March 28, 2010 @12:20PM (#1224792)
Is it just me, or did most of that article make no sense whatsoever?
Re:I Can't Wait for NoSQL to Die by papachito on Saturday March 27, 2010 @03:41PM (#1223502)
It's not just you.