[SERVER-20999] MongoDB embedded distribution Created: 19/Oct/15  Updated: 20/Oct/15  Resolved: 20/Oct/15

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Jaime Olivares Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-8652 Embedded version of MongoDB Closed
Participants:

 Description   

I am evaluating NoSQL options for using as an lightweight-embedded storage for desktop applications. At the same time, I would like to be the same storage technology used for our server-side backend.
MongoDB is great for reducing the complexity of local storage, very similar to HTML5 database. However, its installer is really heavy (80+ MB).
I think there should be a lightweight-embedded distribution, just with the basic server, no diagnostic tools or even drivers, in a format that can enable unattended installation (MSI, DMG, etc.), so it can be part of the application installer.
This shouldn't have impact in the MongoDB product itself, but only in the distribution package generation.



 Comments   
Comment by Stennie Steneker (Inactive) [ 20/Oct/15 ]

Hi Jaime,

There's a somewhat related request SERVER-8652 which you could upvote/watch/comment on regarding an embedded distribution of MongoDB. The issue needs further definition, but currently describes a desire for an embedded library rather than a bundled installer.

However, it sounds like your actual needs are more straightforward: you want to find a way to enable unattended installation as part of your application installer.

Unattended installation is already possible by either installing the binaries your application requires (via specific packages or a custom installer) or running platform-specific installers in unattended mode (eg. msiexec on Windows). The Linux installers have separate packages if you only want to install specific components. For example, the mongodb-org-server package includes the mongod daemon and associated configuration and init scripts.

Your application installer would still need to do some work to create an appropriate mongod configuration and manage starting/stopping the mongod server as appropriate. Presumably you would also want data files and log paths set up relative to your application.

If you'd like some ideas on how other users or applications have approached packaging, I would suggest starting a discussion on the mongodb-user group (http://groups.google.com/group/mongodb-user).

Regards,
Stephen

Comment by Nick Judson [ 19/Oct/15 ]

I'm in a similar position and use mongo for desktop to datacenter. We package the mongodb exe and dependencies directly in our installer and just dump them to a well known folder during install. Seems to work well for us.

Generated at Thu Feb 08 03:55:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.