URL: https://www.peterbe.com/plog/using-mongodb-in-your-django-app/django-mongodb-html5-slides/html5.html

Straight from DjangoCon 2010 here in Berlin. Slides from my talk on "Using MongoDB in your Django app - implications and benefits" are available as a HTML5 web page so you'll need one of those fancy browsers like Chrome to be able to view it. Sorry.

Comments

Post your own comment
Anders

Hi

I cannot follow your love for mongo, i have been forced to move away from it.

Let me list a few issues i have.

1. overloads my harddisks when i do bulk insert (completely kills everything else on the server)
2. cannot give space back to the OS, i bought fast disks, not big ones, i can delete old data if i need space (well, apparently not)
3. Memory consumption, i got 48gb mem, still this doesn't seem like enough for 50mio entries (these entries are very small, and not a lot of indexes either)

MongoEngine

1. The developer seems to actively commit on latest release, i did complain about this on the mailinglist
2. For some reason unknown, the mapping between pymongo and mongoengine isn't direct. This means that uuids will be screwed if you load and save them using mongoengine

Anyways, this is where i ditched mongo and moved along. It is important to keep in mind that using a new db isn't just glitter and good times, there's always new problems (yet nobody mentions these)

social_suicide_by_having_an_opinion

Anders, I thank you deeply for your couragous comment here - we need more people like you, that do not blindly advertise new technologies but seriously test them and report about their conclusions!
I really fear a serious degradation in quality of the open source community in general, because all these conferences and events are more and more becoming (rouge) marketing events. There are absolutely no clear lines between sponsored marketing blah and scientific, unbiased reports. Criticism is becoming generally condemned as trolling and many speakers do not seem to have a problem with presenting themselves as blind followers, - aka "fanboys" - of technologies without even asking if there might be (new) problems - an attitude that might lead to discredit in the scientific world. (Not speakig specific about Peter here, I was not attending his talk, but to be meant as an observation from various different events I have visited before.)
Scientific methodologies and priniciples like neutrality and scepticism should be seen as basic companions of open source software, not as hostile intrusion into a buddy-patterned social collective.

Peter

Sorry, but I can't read your HTML5 slides.
Tried both latest versions of Firefox and Chrome, got a first slide in the middle of the screen, part of second slide next to it, but I no way to scroll.
Thanks for posting anyway. Probably an interesting read.

Gautier

You need to use your arrow keys to switch slides. (If you have an ipad or equivalent you can just swipe the slides).

Peter

Thanks...
BTW, I never knew HTML5 had a CLI mode - I am starting to like it more and more. Sadly though, the [esc]:q! key sequence doesn't close the presentation.

V

the link to your slides is broken

Peter Bengtsson

Fixed now.

Nes

I came across your great presentation on using Django and MongoDB. At the same time I am wondering if you are aware of djongo: https://nesdis.github.io/djongo/

 It translates a SQL query string into a mongoDB query document. I can use the original django ORM without having to install a new ODM to get Django to work!

I wonder why you feel using MongoEngine is a better alternative. It would be great if you could take a look at this implementation and help me with your valuable insights.

Thanks
Nes

Peter Bengtsson

MongoEngine was maybe the better alternative back in 2010 but since then I've pretty much stopped using MongoDB so my opinions about ODMs are minimal.
Your project looks brave. I hope that people who search for Mongo+Django end up here and get to your project.

Nes

Thank you for your encouraging words!

I was really hoping someone could write a small article/blog on this implementation on their website. It works off the shelve and is very easy to use...

Your email will never ever be published.

Related posts

Go to top of the page