-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fetching supervoxel sizes after cleave takes a long time #375
Comments
The sizes are used to check if a large portion of a body is cleaved off. I'll change it to |
I just realized that neu3 is actually using /sizes to fetch body sizes in batch. It will try to fetch one by one only when the batch fetching fails, but I couldn't find such an example. Did this problem happen often? @knechtc @stuarteberg |
How can batch fetching fail? Some sort of timeout?
One example, from today's work in the motor neuron branch: http://emdata5.janelia.org:8400/#/repo/0898ddca1d6e44b0be172586f615b1d7 |
If the batch fetching fails, then the body is probably quite large, and the 1-by-1 fetching will take a VERY long time.
As I write this, @knechtc is waiting for CNS halfbrain body |
BTW, the batch fetching really shouldn't fail once janelia-flyem/dvid#262 is resolved. |
When a user commits a cleave, neu3 apparently fetches the
/size
of every supervoxel in the body. (I'm not sure why.) It fetches those sizes via independent calls toGET .../size
, which is inefficient relative to fetching them all at once via a single call to/sizes
.For large bodies with lots of supervoxels (e.g. 10k-100k supervoxels), this process is the bottleneck when performing a cleave. It can take several minutes.
cc @knechtc @hubbardp @tingzhao
The text was updated successfully, but these errors were encountered: