databroker icon indicating copy to clipboard operation
databroker copied to clipboard

Unified API pulling data from multiple sources

Results 112 databroker issues
Sort by recently updated
recently updated
newest added

We should make it impossible for callers to modify objects that are cached internally. This will involve deep copying somewhere and might carry a significant performance cost, so we may...

## Expected Behavior ## Current Behavior ``` MongoAdapter._build_event_stream(self, run_start_uid, stream_name, is_complete) 1466 # We need each of the sub-dicts to have a consistent length. If 1467 # Events are still...

It may be useful to sort analysis results by the most recently created one and also note when metadata has last been updated.

We are getting a "too many open files" error with databroker-tiled when loading data at SRX. This can be worked around by using databroker-intake and running ``` db._catalog._entries.cache_clear() ```

Edit from @danielballan: This PR prompted a re-think in how we handle xarrays in Tiled in general. We'll leave it open for now as there may be something useful to...

## Status Quo We encode Bluesky documents directly into MongoDB documents. There is one MongoDB collection per document type, and each Bluesky document becomes one MongoDB document. The MongoDB representation...

"There seems to be a memory leak when loading a batch of data with PyXRF using Data Broker V1 (no memory leak when using Data Broker V0). After loading 13...

"It takes about 35 seconds to load one 75x75 2D scan (e.g. 92276) with PyXRF using Data Broker with tiled V1 compared to 3.5-4.0 seconds using Data Broker V0. It...

In databroker, we make a best effort to fit the streaming "document model" into standard PyData types. In v1, we use DataFrames (`.table(...)`) or generators (`.data(...)`). In v2, we use...

Paginated requests are always sorted so that the pages are deterministic. To avoid nondeterministic "ties" in the sorting parameters, they use ObjectId as a tie-breaker. https://github.com/bluesky/databroker/blob/de3a2e9b2974353946af938ff6d6128623f1e625/databroker/mongo_normalized.py#L1561-L1568 This means that we...