Closed shaunanoordin closed 8 years ago
I'd love to take a moment tomorrow to watch the logs while you're doing such a request. See if the bottleneck is the EduAPI or it's subsequent call to Panoptes. Maybe we need to perform some stuff in the background.
👍 Can do! I've got plenty o' Assignments waiting to be created.
Thanks to Marten, we have an update on this bug.
Problem: the Panoptes-side processing is a bottleneck.
Solution: The Education API needs to return a response quickly to the user (with new "status" variable saying "still processing..."), while simultaneously processing the rest of the subjects in the background.
Caveat: this means it'll take a short while before Teachers/Students can see all subjects, but this is acceptable for the Assignment use cases.
We've just received another report from Bridget confirming that teachers are encountering issues with Create Assignment functions. Strangely though, in the screenshots she provided, she encountered the issue's symptions when creating Assignments with only seventeen Subjects, not thousands.
This was fixed by zooniverse/education-api#33 and zooniverse/education-api#34 , but has a follow up bug in #305 . Welcome to the rabbit hole!
Issue: When creating an Assignment that consists of over 4000 subjects, the process fails.
Analysis:
Experimental results:
Question: Why does the submission process take so long? In theory an equivalent 129KB "file upload" shouldn't even take 50s to process.
Pinging @marten, @simoneduca and @eatyourgreens for your thoughts.