Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving File Size Constraints and Image Optimization #131

Closed
Hanskrogh opened this issue May 21, 2024 · 5 comments
Closed

Improving File Size Constraints and Image Optimization #131

Hanskrogh opened this issue May 21, 2024 · 5 comments
Labels
type/improvement Ideas and requests for enhancements to existing product functionality

Comments

@Hanskrogh
Copy link

Hanskrogh commented May 21, 2024

Summary

Currently, there is no mechanism to prevent users from uploading excessively large files to Umbraco Heartcore. This product faces significant challenges when handling large files, including issues with serving, optimizing, and transferring media.

It appears that you are using Cloudflare for content delivery. However, it is unclear whether the performance issues stem from Cloudflare or from Umbraco Heartcore itself. I have observed that when media files are uploaded and served through Azure CDN or AWS CloudFront, the content delivery performance is markedly faster.
Screenshot 2024-05-21 at 11 30 22

Additionally, I have a comparative analysis of image optimization between Umbraco Heartcore and Contentful. For the same image, Umbraco Heartcore takes 2.7 seconds to optimize, whereas Contentful takes only 1.7 seconds. This significant difference in performance further highlights the optimization challenges faced by Umbraco Heartcore.

Use case

I have encountered significant challenges when uploading and managing large media files. These challenges primarily stem from the platform's current inability to efficiently handle large files, resulting in delays and performance issues.

Specifically, the issues include:

  • Media Optimization Delays: For example, an image optimization comparison shows that Umbraco Heartcore takes 2.7 seconds to optimize a single image, whereas Contentful completes the same task in just 1.7 seconds.

  • Content Delivery Inefficiencies: Serving media files through Cloudflare, as currently configured in Umbraco Heartcore, is notably slower compared to other CDNs such as Azure CDN and AWS CloudFront, which deliver content much faster.

These inefficiencies hinder user experience and system performance. To address these issues, it would be beneficial to implement mechanisms that prevent the upload of excessively large files, enhance the platform's media optimization capabilities, and reconsider the CDN configuration to ensure faster and more reliable content delivery. This change is crucial for improving overall system performance and user satisfaction.

Tasks

Preview Give feedback
No tasks being tracked yet.
@Hanskrogh Hanskrogh added the type/improvement Ideas and requests for enhancements to existing product functionality label May 21, 2024
Copy link

Hi there @Hanskrogh!

Firstly, a big thank you for your suggestion. Every piece of feedback we receive helps us to make Heartcore better.

We really appreciate your patience while we wait for our team to have a look at this. We'll assess whether your suggestion is something we can action and let you know roughly what you can expect next.

We wish we could work with everyone directly and assess your suggestion immediately but we're in the fortunate position of having lots of feedback to work with and only a few humans who are able to do anything with it. We are making progress though, and we'll keep you posted when we have something to report!

Thanks, from your friendly Umbraco GitHub bot 🤖 🙂

@jmf-umbraco
Copy link
Contributor

Hi @Hanskrogh,

Thanks for the report!

We are aware that image processing times could be faster and we've identified a fix that should noticeably speed up these requests.

While it's possible to upload large images in Heartcore, it is not possible to process (i.e. crop/resize) images that are excessively large. This is not what is slowing image processing - our fix targets something else.

I'll update here once the fix is released.

@Hanskrogh
Copy link
Author

@jmf-umbraco Looking forward to the improvement! :)

@jmf-umbraco
Copy link
Contributor

Hi @Hanskrogh,

We released a change last week to the image service that should have taken a load off it, allowing it to respond to image processing requests a lot faster.

Let us know if you continue to have any issues.

@Hanskrogh
Copy link
Author

Hi @jmf-umbraco

seems like it is not working....

Screenshot 2024-06-03 at 11 08 07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/improvement Ideas and requests for enhancements to existing product functionality
Projects
None yet
Development

No branches or pull requests

2 participants