Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialThomas Euget
10,615 Pointsquestions on MongoDB!
couple of questions for you Treehouse members!
- what is Mongo Daemon really?
- How does MongoDB works really? My understanding is that there is a small version of the whole database temporarily running within your browser as the application rolls..... but when is it actually sent to Mongo and definitely stored?
- is there another way to look at your mongoDB other than using the shell?!
2 Answers
Iain Simmons
Treehouse Moderator 32,305 Points- mongod is "the primary daemon process for the MongoDB system. It handles data requests, manages data access, and performs background management operations.". Just think of it like a database server waiting for requests for data from 'clients' (one of which could be the mongo shell).
- That pattern of having a 'small version of the whole database temporarily running within your browser' is probably referring to Meteor's implementation of MongoDB, which runs both on the server and on the client so users see changes to the database immediately on the client-side, while they are still being run on the server. Meteor is an excellent JavaScript framework. I hope Treehouse makes a course about it at one point!
- Yes, there are tons of ways to access data from a MongoDB database, each of these is called a 'client'. There are client libraries available for most programming languages, and there are also standalone client applications, like Robomongo, that offer different takes on a more 'native' and user-friendly interface.
Thomas Euget
10,615 Pointsthanks very much Ian