Skip to content

Slow Image Uploads – Consider Profiling or Alternative Approach #5

@JonasBchrt

Description

@JonasBchrt

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

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions