Skip to content

Releases: bluesky/suitcase-mongo

Use bulk write operation to insert Event/Datum Page into database

23 Jan 15:09
e1493d8
Compare
Choose a tag to compare

suitcase-mongo now uses pymongo's insert_many() function to simultaneously send all Events from an Event Page to the mongo database, rather than the previous behavior of calling insert_one() for each Event inside a for-loop. The same change was applied to inserting a Datum Page.

This should reduce the time needed to store data when a Bluesky run has many thousands of events. The effect should be even more pronounced in deployments where network latency is high.

v0.6.0

01 Apr 14:22
Compare
Choose a tag to compare

Make index creation manual:

serializer = Serializer(mds_db, assets_db)
serializer.create_indexes()

v0.4.0

11 Sep 16:37
Compare
Choose a tag to compare

Adds indexes supporting paginated lookups

Release v0.3.1

12 Oct 21:20
Compare
Choose a tag to compare

Changes

  • Fix bug in the duplicate-handling path for Datum.

mongo_embedded

03 Apr 14:56
afcf311
Compare
Choose a tag to compare

mongo_layout1 and mongo_layout2 are renamed to mongo_normalized, and mongo_embedded.
mongo_embedded is working with DocBuffer.