Skip to content

CPU spikes when loading large file #112

Open
@mwanchap

Description

@mwanchap

Firstly, thanks for all your hard work on this project - it's been a huge help for us!

We manage a bunch of Umbraco-based sites and we recently had a situation where a large-but-not-ridiculous number of requests for a large-ish PDF (~10mb) was causing the Azure app service plan hosting the sites to have serious CPU usage spikes, > 90% for a period of several hours as long as the requests continued. These were all direct file requests to a /media/... url, so I don't think much other Umbraco-related work was happening aside from retrieving the file. This seems to only occur on large files as load testing on the site hasn't shown the same behaviour when requesting a large number of smaller files (e.g. images on a page). I was wondering what your thoughts were on the potential cause and any ideas on mitigations (aside from just putting the file elsewhere or using a CDN).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions