Skip to content
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

improve speed of data transfer and ingestion #56

Open
anne-urai opened this issue Aug 18, 2020 · 1 comment
Open

improve speed of data transfer and ingestion #56

anne-urai opened this issue Aug 18, 2020 · 1 comment
Assignees

Comments

@anne-urai
Copy link
Contributor

Currently, after finishing training in the late afternoon (~4pm) and transferring all data to the server PC (~6pm), it takes until fairly late the next day to display the animal's behavior in the IBL navigator. This means that when a behavioral criterion is reached, the user mostly won't find out until the animal has already been trained the day after. The additional lag also makes it tricky to identify and fix behavioral problems quickly.

I remember there has been talk of changing the upload to FlatIron, so that small behavioral files are uploaded quickly. In an ideal world, all upload and ingestion would happen overnight so that the experimenter has access to yesterday's data through the Navigator the next morning.

@oliche
Copy link
Member

oliche commented Aug 19, 2020

So there was a few improvements already:

  • data gets registered as soon as it gets on the server. Behaviour extraction is fast and has high priority.
  • small files are uploaded separately from large files.

Here are some of the issues:

  • so far we run jobs sequentially, so if you have a large ephys job already running when the data gets copied, the training extraction will be delayed
  • Globus tasks run asynchronously, so the transfer status is checked only once a day. There is a lot to gain here by running threads or daemons that keep track of Globus transfers and set the database status as soon as the transfers are complete.
  • send a nudge to DJ as soon as transfers are complete too ?

iamamutt pushed a commit that referenced this issue Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants