modify the profile post and put functionality to use presigned links instead of multer file upload. #22
Labels
efficiency improvement
improves the efficiency of an existing functionality, reducing the computational cost.
The current functionality works, but the way it is implemented is not efficient as it turns out. What we do right now, is the photo is uploaded to the nodejs server, and then it is sent from there to the minio container, and the temp file is deleted on the node js server. This works, but it requires moving all this data through the nodejs server unnecessarily. Instead we could use the build in functionality in minio of resigned URLs (as we did on the profile get). This would allow us to send the files directly to mino, bypassing the node js application.
The text was updated successfully, but these errors were encountered: