-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish metrics to Dockstore #5198
base: master
Are you sure you want to change the base?
Conversation
…n't get Dockstore's default over TRS
…l Python to the Mac dock
The history command I cut from this is in the There aren't really any unit tests for the history tracking machinery, or any fake Dockstores against which we test the submission machinery. |
… into issues/5159-dockstore-metrics
One missing piece here is locking/waiting for reporting when workflows finish simultaneously. Multiple Toil jobs can be trying to send the same workflows/jobs to Dockstore at the same time, and Dockstore will fail at least one of them with a duplicate ID complaint. The publication will be retried by the next Toil workflow to come along though. Maybe that's better than a real locking/reservation system? |
One thing we might need is connection keeping like in the caching system. Right now we just reconnect to the database for every job we have to add to it, which is possibly slow and might not do our job-recording throughput any favors. |
Do we need a way to batch database writes from each Toil process, with some kind of atexit recording method, to avoid slowdowns caused by database lock contention? |
Changelog Entry
To be copied to the draft changelog by merger:
~/.toil/histroy.sqlite
Reviewer Checklist
issues/XXXX-fix-the-thing
in the Toil repo, or from an external repo.camelCase
that want to be insnake_case
.docs/running/{cliOptions,cwl,wdl}.rst
Merger Checklist