Testing the MongoDB Global Write Lock Improvements 38
rick446 writes "I took some time to benchmark the global write lock improvements in MongoDB 2.0. From the article: 'MongoDB, as some of you may know, has a process-wide write lock... Per-database and per-collection locking is on the roadmap ..., but it's not here yet. What was announced in MongoDB version 2.0 was locking-with-yield. I was curious about the performance impact of the write lock and the improvement of lock-with-yield, so I decided to do a little benchmark, MongoDB 1.8 versus MongoDB 2.0.'"
Relevant (Score:5, Funny)
Blah blah blah... what? (Score:2, Insightful)
It's like this articles starts in the middle of a sentence and I can't tell what the hell is going on.
OK, for starters, what the fuck is MongoDB? Just a single sentence or some mention would be helpful. Secondly, why is this front page material? It's just some crappy blog about some minor change to some product nobody uses, woopdeedoo.
Re:Blah blah blah... what? (Score:5, Funny)
I realize it's not widely known in the west, but it's an important database in Mongolia.
Re: (Score:1)
Re: (Score:1, Insightful)
Yeah, we're nerds here. We like boring shit, fuck off.
Re: (Score:3)
Re: (Score:1)
Needs more of? Did you read the semantic line interface link or the comments in the discussion? It was just some guy's indecipherable blog post about his text box idea.
Yea me too (Score:4, Funny)
I hate it when I am benching my mongo and it locks its yeild, quite painful =O
is it still web scale? (Score:1)
Re:is it still web scale? (Score:5, Funny)
It's great that they improved the locking. I just hope they didn't compromise web scalability in the process.
obligatory http://www.youtube.com/watch?v=b2F-DItXtZs [youtube.com]
Re: (Score:2)
/dev/null webscales!!!
Re: (Score:2)
Re: (Score:2)
OMG, thank you so much. That was beautiful. Web Scale even.
Now please excuse, I have to find a plug for my bleeding ass hole.
Pushing locks down (Score:3, Insightful)
Congratulations. You matter enough to bother reinventing this wheel again. If you continue to matter for a meaningful amount of time you'll end up locking individual documents, or whatever you call them. Oracle called that 'row' locking. 15 years ago.
Re: (Score:1)
Re: (Score:2)
I don't understand why they (and almost every other bit player in databases) are loading everything into main memory. I know disk is slow, but there are more efficient uses for main memory. Like creating a list of locked memory locations. The initial disk hit (which can be offset by intelligent caching and in this case, intelligent lookup) is probably not nearly as detrimental to the database's usability as the limitations from putting the entire database into main memory.
As for locking, one of their partic
Re: (Score:2)
Not all open-source is the same. Some projects have great (or at least decent) names, some have terrible names. Similarly, some projects are great (technically), while others are shit. Sometimes the two even coincide, as we see with this one: it has a terrible name, and it's a shitty project, only now implementing concepts that real databases had back in the 80s or before.
Website description vs reality (Score:1)
"MongoDB (from "humongous") is a scalable, high-performance, open source NoSQL database"
LOL I think the word in parens they were looking for is "humours".
Re: (Score:2)
Mongo is slang for huge or big. Its like a Blazing Saddles reference to a character named Mongo; whereby it was stated, if you shoot him, you'll just make him mad. Beyond that, I'm not sure what's offensive about it.
Its a "big, bad ass database." What's so offensive?
In my language, and apparently in English as well [urbandictionary.com], "mongo" is a rude slang term for people with Down syndrome [wikipedia.org]. Although I chuckled when I first read about MongoDB it's obvious that those who chose the name didn't know about this. Disclaimer: Neither I nor any sensible person I know would ever use this slur.
Re: (Score:1)
Woah... I didn't say or imply that MongoDB is meant to be derogatory, nor do I find it offensive myself. I intended to explain to my parent post why my grandparent (probably) found it offensive. I also noted that I was sure his implication about the name being deliberately offensive was wrong. I sometimes find that some people (grandparent?) really go out of their way to be offended by whichever coincidence, your post might be better suited as a reply to the topmost post in this thread?
The reason why I pick
Re: (Score:2)
I grew up in England (when the official scientific term was "mongoloid") and never heard anyone say "mongo", though there was one kid who used to say "mungo". He wasn't one, but he wasn't far off.
"Mong" was much more common.
Who gives a fuck what you think, you fucking spacker?
Re: (Score:2)
Mong is slang. Mongo means nothing in English. It's also not that offensive anymore, especially when we're talking about Mongo Database, I didn't even make the connection until you pointed it out.
Ah, bless you MongoDB (Score:3)
Really interesting comments... (Score:1)
Re: (Score:1)