Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can MongoDB be hosted in-process?

Currently, everything that I've read indicates that you must run MongoDB as a separate process/service. Is there any way to host MongoDB in-process? If not now, are their known plans to implement such a feature?

like image 851
Jordan Avatar asked Feb 05 '10 20:02

Jordan


2 Answers

Based on my experience with MongoDB and my skimming of the issue tracker tickets at http://jira.mongodb.org/browse/SERVER, I don't know of any way to host MongoDB in process. I also found no evidence of future plans to do so.

I would recommend asking this question on the mongodb-user mailing list: http://groups.google.com/group/mongodb-user

like image 104
David J. Avatar answered Oct 02 '22 02:10

David J.


MongoDB is GNU AGPL licensed so if you include (link) in your application then the source of that application will also be GNU AGPL licensed. You can of course launch MongoDB from your application at startup and terminate MongoDB again when the application stops.

like image 20
diederikh Avatar answered Oct 02 '22 03:10

diederikh