instill-core icon indicating copy to clipboard operation
instill-core copied to clipboard

[INS-2132] [Improvement] Upload image assets to Numbers blockchain in parallel

Open donch1989 opened this issue 2 years ago • 1 comments
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

INS-2132

donch1989 avatar Sep 26 '23 14:09 donch1989