forked from AMI-system/ami-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description:
Image upload requests are noticeably slow. Each 300–500 KB picture typically takes several seconds to upload, even though internet speed does not appear to be the bottleneck.
Details:
- Likely cause: Lambda function processing rather than database queries.
- Suggested action: Perform profiling to identify the bottleneck. AWS X-Ray might be useful for this.
- Impact: Uploading tens of thousands of pictures from a whole season at once would take an impractical amount of time at the current speed.
- Note: This is less of an issue for real-time wireless device-originated uploads since they arrive one-by-one and speed is less critical there.
Potential Solutions:
- Profile Lambda function to confirm the bottleneck.
- If the issue cannot be resolved, consider switching to a direct-to-S3 bucket upload approach for bulk uploads.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request