Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpCache] Add awaiting trace when finding the cache locked#60498

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:7.4frommpdude:cache-trace-wait
May 30, 2025

Conversation

mpdude
Copy link
Contributor

QA
Branch?7.3
Bug fix?no
New feature?yes
Deprecations?no
Issues
LicenseMIT

This adds a newwaiting trace that will be recorded by theHttpCache when the cache had to wait for another, concurrent request to the same resource to finish first.

The information can be used for profiling - a high rate ofwaiting requests means there is a lot of concurrency, so that it might be beneficial to either speed up request processing or consider usingstale-while-revalidate.

@fabpotfabpot modified the milestones:7.3,7.4May 26, 2025

protected function createStore(): Store
{
return new Store(sys_get_temp_dir() . '/http_cache');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
returnnewStore(sys_get_temp_dir() .'/http_cache');
returnnewStore(sys_get_temp_dir().'/http_cache');

@fabpot
Copy link
Member

Thank you@mpdude.

@fabpotfabpot merged commit1152edf intosymfony:7.4May 30, 2025
10 of 11 checks passed
@mpdudempdude deleted the cache-trace-wait branchMay 30, 2025 08:02
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@OskarStarkOskarStarkOskarStark left review comments

@fabpotfabpotfabpot approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
7.4
Development

Successfully merging this pull request may close these issues.

4 participants
@mpdude@fabpot@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp