-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Async task state tracking #148
Comments
I think that is a good idea. I have a similar design with my Lens to Salesforce workflow.
|
@ingalls, I was just made aware that the process of creating, updating, or deleting deployments on cameras with large numbers of images (like 20k) will timeout, and the deployment update will fail. This is because So once we get the task tracking in place I think our two priorities should be:
|
I think this is just about done. We've migrated Final punchlist:
|
Capturing some ideas discussed in our software team meeting last week (11/26): Approaches to handling long running tasks:
|
We now have a growing number of potentially long-running tasks that Lambdas are not well suited to support, especially if the user is expecting a synchronous response. These include:
bulkWrite
)@ingalls recommends that we consider creating a consistent pattern for tracking these async tasks in the DB (creating a collection or collections that we update when the state of one of these processes changes and a consistent query pattern for accessing them). I think it's a great idea... right now we have 2 entirely different ways of checking the bulk upload state and the annotation state, and for most of the others we haven't yet implemented spinning the tasks off on separate infrastructure; instead, we only support them at pretty low thresholds.
For the tasks we haven't yet broken out to run async, we have a couple options:
The text was updated successfully, but these errors were encountered: