Respondly explains why devs love Meteor and MongoDB

With the recent release of Meteor 1.0 (and the huge buzz around it), developers may be wondering why the Meteor framework is so popular. Or perhaps, for developers new to web programming, what is Meteor?

To help you better understand Meteor from a developer's perspective, we've asked Tim Haines, founder of team email and twitter inbox service Respondly, to share his experience working with both Meteor and MongoDB.

Respondly on Meteor and MongoDB 

Q: Let's start with an easy one. What is Meteor?

Meteor is an open source platform for building real-time web and mobile apps in pure JavaScript.

Q: Why is MongoDB commonly mentioned with Meteor?

MongoDB is somewhat blessed by Meteor as the database of choice for the 1.0 release, and the native built-in support for it is fantastic.  Meteor uses special MongoDB features (such as the oplog) to keep real-time data reactivity efficient.

Meteor also has a client-side MongoDB implementation (called minimongo) which runs in the browser. Minimongo allows you to write the same query for your server side and client side data collections, and Meteor's observer feature lets you react to changes to both in real time.

Q: How does developing with Meteor and MongoDB work?

In development on your local machine, Meteor takes care of installing and starting MongoDB for you. When you start your Meteor app, it loads a MongoDB instance and takes care of everything for you. If you'd like to query that MongoDB instance, you can simply run "meteor mongo"  in another terminal window, and it loads a MongoDB shell connected to your app's database. This is great for ad hoc queries and bulk updates while building your app.

Q: Respondly is built on top of Meteor. Why did you choose Meteor and how did you find the development process?

Meteor's been great to work with.  It's the perfect framework for building real-time web apps and is tremendously useful for Respondly. We provide our users real-time up-to-the-moment information as they're communicating with their own customers.

Meteor takes care of almost all of the plumbing for you, allowing you to concentrate on developing business value. In particular, Meteor includes real-time monitoring of MongoDB for changes to data (via oplog tailing). This monitoring allows Meteor to:

  • track which (if any) clients need new or updated data
  • publish new data to clients that need it
  • update the UI in real-time with the new data that arrives

with minimal developer effort. The real-time reactivity from db updates all the way to UI updates is amazing.

Q: What about MongoDB? How have you found developing on it?

MongoDB's been great to work with.  Coming from a SQL background, I've really enjoyed the variety of data structures and queries that MongoDB can handle.  We've been able to make great use of storing rich documents that include arrays and sub-documents, to better map to our real-world understanding of our data.  MongoDB's also very versatile in its query language, having an update modifier for almost anything.

Build on Meteor!

We hope this Q&A has been helpful in highlighting what makes Meteor and MongoDB a great stack for web developers. The MongoLab and Meteor teams look forward welcoming you to our community!

28 Responses to Respondly explains why devs love Meteor and MongoDB

  1. EJ 2014/11/04 at 9:56 pm #

    It would be helpful on these types of blog posts if the biggest challenges were listed. It can’t be all sunshine.

  2. Chris Chang 2014/11/05 at 7:23 am #

    Hi EJ,

    Great feedback. I’ll reach out to Tim to see if he has anything to share.

    Thanks for reading!

  3. Max Hodges 2014/11/16 at 10:20 pm #

    I’m building with Meteor and trying to do text search on a collection with 133K entries. It’s completely unusable. Each query takes minutes! I’ve spent the last day-and-a-half breaking the data own into arrays and re-writing my application code. A lot of work for something which would happen extremely fast with minimum effort in SQL.

  4. Chris Chang 2014/11/17 at 12:32 pm #

    Hi Max,

    If you’re running on MongoLab we’d be happy to take a look. Just email us at support at mongolab dot com. If not, I can point you to some good resources if you ping me directly chris at mongolab.

    Cheers!

  5. Max Hodges 2014/11/18 at 5:57 am #

    Hi Chris, actually I managed to solve it. I had autopublish added, so it was trying to sync a 3MB database each session. I removed that and set up proper subscriptions. It’s working surprisingly performant now.
    http://kanaphoneme.meteor.com/
    Cheers~!

  6. Vinoth Kumar 2014/12/14 at 10:22 am #

    I would like to ask you for one question? I m going to start one new project. But before going to start that project, I need to confirm the architecture. MEAN or Meteor js? Really I m confusing. Kindly share your thoughts on this.

  7. Chris Chang 2014/12/15 at 6:15 pm #

    Hi Vinoth,

    Meteor makes it really easy to get up and running quickly and provides a lot of functionality out of the box. Really depends on what your project is- feel free to email me at chris@mongolab.com if you’d like to discuss.

    Best,

    Chris

  8. Alex Mills 2015/01/19 at 12:06 am #

    Or it could be when it comes to meteor :)

  9. what is motor club america about 2017/04/01 at 11:34 am #

    852978 630301Hello! I just would wish to offer a huge thumbs up for that excellent information youve here during this post. I will likely be returning to your site to get a lot more soon. 415069

  10. nolvaxyl 2017/04/04 at 5:32 pm #

    898169 874893I like this internet site its a master peace ! Glad I detected this on google . 249647

  11. Best Best Online News in the World 2017/04/06 at 1:40 pm #

    668730 519049Could it be okay to write several of this on my small internet internet site only incorporate a 1 way link towards the internet site? 863240

  12. Best Online Tamil News 2017/04/06 at 8:17 pm #

    270240 915456Interesting website, i read it but i still have a few questions. shoot me an email and we will talk more becasue i may have an interesting idea for you. 400210

  13. Best Best Online News in the World 2017/04/07 at 8:24 am #

    200148 952942Enjoyed examining this, very good stuff, thanks . 58577

  14. Best Best Online News in the World 2017/04/07 at 10:25 am #

    158395 192761Fantastic blog, Im going to spend much more time reading about this subject 953343

  15. GVK BIO 2017/04/08 at 6:19 am #

    961829 197467I surely didnt realize that. Learnt a thing new today! Thanks for that. 650380

  16. Best Best Online News in the World 2017/04/08 at 8:27 am #

    214328 724467Trop excitant de mater des femmes lesbiennes en train de se doigter la chatte pour se faire jouir. En plus sur cette bonne petite vid o porno hard de lesb X les deux jeunes lesbienne sont trop excitantes et super sexy. Des pures beaut de la nature avec des courbes parfaites, les filles c est quand v 306658

  17. GVK BIO 2017/04/08 at 2:20 pm #

    554736 432871Approaches for dilution antimicrobial susceptibility beadlets for beagles that grow aerobically-fifth edition. 936594

  18. Free UK Chat Rooms 2017/04/08 at 11:10 pm #

    697002 560616great . Thanks for informations . Ill be back. Thanks again 948436

  19. Karcy 2017/04/16 at 6:48 am #

    related posts TWT Travel Binder: Spain and Southern Spain: Starting Out in Sevilla Southern Spain: Sherry, Horses anM#382&0;door in Jerez de la Frontera Southern Spain: Cordoba, the

  20. 446152 578683Definitely composed content material material , thankyou for data . 433329

  21. Switch Energy Supplier 2017/04/20 at 11:12 pm #

    715515 351786Oh my goodness! an superb post dude. Thanks a whole lot Even so Im experiencing difficulty with ur rss . Do not know why Struggle to register for it. Can there be any person locating identical rss concern? Anyone who knows kindly respond. Thnkx 81786

  22. Switch Energy Supplier 2017/04/21 at 5:23 pm #

    242133 91249This plot doesnt reveal itself; it has to be explained. 359803

  23. Best Online News 2017/04/22 at 7:05 am #

    134545 541760Hello there! Do you know if they make any plugins to protect against hackers? Im kinda paranoid about losing everything Ive worked hard on. Any suggestions? 328302

  24. Damenröcke im Übergrößen 2017/04/22 at 8:33 am #

    121245 579399My brother suggested I would possibly like this blog. He was once entirely right. This submit actually made my day. You cant believe just how so much time I had spent for this information! Thank you! 77230

  25. nandrolona d 2017/05/02 at 7:09 am #

    348091 366508Hello! I just wish to give an enormous thumbs up for the great info you might have correct here on this post. I can be coming once more to your blog for much more soon. 646640

  26. Kai Musk 2017/05/05 at 1:03 am #

    554389 977455Surely,Chilly spot! We stumbled on the cover and Im your personal representative. limewire limewire 672408

  27. Steroids Shop - Roid24.com 2017/05/10 at 5:50 pm #

    723492 632747hi and thanks regarding the particular post ive really been searching regarding this kind of info online for sum time these days hence thanks a lot 586295

  28. seo utah 2017/05/17 at 7:52 pm #

    455355 374945Wow! This could be 1 specific with the most beneficial blogs Weve ever arrive across on this topic. Truly Excellent. Im also an expert in this subject therefore I can realize your hard function. 887935

Leave a Reply