How FourSquare uses MongoDB as their primary datastore

In this 45-minute video, Andrew Erlichson, Vice President of Education at 10gen (the makers of MongoDB) interviews John Hoffman, Manager of the Storage Team at FourSquare, about his company’s use of MongoDB as their primary datastore.

John discusses in detail FourSquare’s evolution from MySQL to Postgres to MongoDB, the challenges that led them to make the transition and goes into some detail about how FourSquare make use of the unique features of MongoDB.

This really is essential viewing for anyone interested in MongoDB and a great insight into what’s involved in managing the data of a high-performance, high usage, web-based app.

As a not totally irrelevant aside, I only recently came across this video as it is made available in Week 7 of the excellent (and free) “MongoDB for Developers” certification training course. For any developer new to MongoDB or just interested in knowing what all the NoSQL/document store excitement is about this is an essential course. Combine it with the “MongoDB for DBAs” course and you’ll come away with a good grasp of what’s involved in switching from a relational to a document-based database.



Excellent online training in jsRender

Templates have been the “next big thing” in Javascript for over a year but, despite huge interest, they haven’t quite broken through to the mainstream. With their ability to radically simplify how we write Javascript I’m certain that they will revolutionize how we code in the same way that jQuery has. There are just too many talented people working on implementing them for them not to succeed. Better still, it looks like this will finally be the year they’ll take off.

As always there are many competing libraries but the only one I’ve found of interest is jsRender from Boris Moore. Small, robust, flexible and very fast, this powerful library has one disadvantage – the documentation is patchy and more of a chore than a pleasure to work through. Now, thanks to an excellent online course from Pluralsight, it’s possible to go from jsRender novice to almost expert in no time at all. Lasting just under 3 hours, jsRender Fundamentals by John Papa is an excellent introduction to the subject. Despite the “fundamentals” in the title there won’t be much that you won’t know how to do with jsRender by the end of this information and example packed course.

I watched the entire course in two sittings, taking time out between videos to work through some of the examples. I found the pace just right and with each video lasting just a few minutes it never bores or gets bogged down in unnecessary detail. This segmentation also makes it easier to skip the parts that don’t interest you (for me that was the section about using jsRender in Visual Studio, an environment I don’t use and am not likely to use in the foreseeable future).

If you’re a Javascript Templating novice and looking to get up-to-speed with jsRender I would strongly recommend you give this course a try.