question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add MongoDB storage backend?

See original GitHub issue

I have been using MongoDB lately for logging the results of my computational experiments, and I have found that it is a pretty fun piece of software to use. Since MongoDB is designed to store large amounts of data across a distributed network, It seems like it could be a good match for zarr. I went ahead and made a very simple MutableMapping wrapper to MongoDB: https://gist.github.com/nbren12/9842cf22f173a864a7c8377c01ad06c5, and I am wondering if this is something that might be worth cleaning up and adding to zarr.

It would be interesting to benchmark it’s performance compared to S3 and GCS backends. FWIW, a package which seems to use mongoDB in a similar way to store large binary datasets is https://github.com/manahl/arctic.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:20 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
nbren12commented, Jan 3, 2019

Yes, I agree this should probably be documented as part of Joe’s PR.

On Fri, Dec 28, 2018 at 1:13 AM jakirkham notifications@github.com wrote:

TBH just keeping things within the 16MB limit may make sense for some work loads. For instance an uncompressed single precision 2048x2048 array would fit exactly in that limit. A larger array should be possible with compression. Of course this is assuming we want an array of that size in one chunk.

Anyways was mainly curious how this was working out for you in typical use cases. We probably should document this constraint for users less aware of what MongoDB is doing behind the scenes.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zarr-developers/zarr/issues/299#issuecomment-450323393, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUokp7pOKw98uMCzkjNaaqnbG4dxP1Dks5u9eCmgaJpZM4WxJS4 .

1reaction
alimanfoocommented, Sep 21, 2018

@nbren12 re the client object I’d say it’s up to you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Storage — MongoDB Manual
The storage engine is the primary component of MongoDB responsible for managing data. MongoDB provides a variety of storage engines, allowing you to...
Read more >
How to use mongodb as backend storage for vault?
Currently there's no support for using MongoDB as a storage backend. If MongoDB is the only way you can store your Vault secrets...
Read more >
Add MongoDB storage backend? · Issue #299 - GitHub
I have been using MongoDB lately for logging the results of my computational experiments, and I have found that it is a pretty...
Read more >
MongoDB database for data storage | Compass - YouTube
In this video, we will add the MongoDB database to the project. Currently we have hard coded the response JSON in express microservice....
Read more >
How to Install and Set Up a Local MongoDB Database - Prisma
Setting up MongoDB on Windows · MongoDB ready to install. Click Install to begin installing all of the MongoDB components on your computer....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found