instill-core
instill-core copied to clipboard
[INS-2132] [Improvement] Upload image assets to Numbers blockchain in parallel
trafficstars
Is There an Existing Issue for This?
- [X] I have searched the existing issues
Project
Instill VDP
Is your Proposal Related to a Problem?
Currently, in connector-blockchain, we upload the image to Numbers sequentially, which is slow.
We should optimize the upload image function to be executed in parallel.
Describe Your Proposed Improvement
Use goroutine to upload images in parallel.
Highlight the Benefits
If there are N images to be uploaded, we can reduce the time from N*t to t
Anything Else?
No response