Search code examples
mongodbembedded-database

Can mongodb be used as an embedded database?


I am working on a RSS reader application. And I need to find a backend database. I want the database be embedded because I don't want the users to install a database server.

I know SQLite is a good choice, but I am wondering if there are any other nosql choices?


Solution

  • According to the Google Group, yes it can, but it doesn't cover how exactly.

    Yes, but it isn't pretty and will force your app to be AGPL licensed. If you are interested take a look at how the tools handle the --dbpath option.

    Source: http://groups.google.com/group/mongodb-user/browse_thread/thread/463956a93d3fb734?pli=1

    If you're using .NET, one option might be RavenDB, which is a document database, and can be embedded.