Re:Looking with Cassandra into the future of Atlas
by chaostheory on Monday July 16, 2012 @06:15PM
(#4252963)
I think in the near future Mongodb will no longer have a global write lock. Yeah but I feel their pain. Given my still limited experience with it, Mongodb may be great for reads, but not so much for writes.
[ Parent
| on HN ]
Re:Looking with Cassandra into the future of Atlas
by achompas on Monday July 16, 2012 @07:12PM
(#4253174)
EDIT: deleted b/c I didn't make my point clearly.
Re:Looking with Cassandra into the future of Atlas
by ra on Monday July 16, 2012 @08:27PM
(#4253463)
It would be better for the conversation if you edit to clarify your point rather than delete...
Re:Looking with Cassandra into the future of Atlas
by taligent on Monday July 16, 2012 @07:24PM
(#4253222)
Call me stupid but I can imagine that losing data is a problem for a database company.
That said MongoDB has a simple flag which allows you to choose how to handle writes. The app can 'wait' for writes to be applied to one node, all nodes, some number of nodes etc.
Re:Looking with Cassandra into the future of Atlas
by achompas on Monday July 16, 2012 @07:32PM
(#4253247)
Heh, that probably wasn't phrased well. Let's try again:
Dynamo (and thus Cassandra) is designed for write speed and durability. What is MongoDB designed for?
Re:Looking with Cassandra into the future of Atlas
by chaostheory on Monday July 16, 2012 @09:17PM
(#4253620)
(assuming you're talking about safe writes opposed to normal writes) then you kill performance... which was one of the main reasons for switching to mongodb in the first place
Re:Looking with Cassandra into the future of Atlas
by taligent on Monday July 16, 2012 @07:20PM
(#4253196)
MongoDB doesn't have a global write lock.
It has a per collection lock and is moving towards per row locking.
Re:Looking with Cassandra into the future of Atlas
by nodesocket on Monday July 16, 2012 @07:37PM
(#4253273)
I don't think that is correct. Version 2.2 (beta) has database level locking, but that was the hard part. Collection, and document locking are coming after according to this talk by the CEO Dwight Merriman. (http://www.10gen.com/presentations/concurrency-internals-mon...)