Skip to content

refactor(Dotcom.PageController): avoid fetching and iterating all alerts ever - #3380

Draft
thecristen wants to merge 5 commits into
mainfrom
cbj/homepage-alerts-rewrite
Draft

refactor(Dotcom.PageController): avoid fetching and iterating all alerts ever#3380
thecristen wants to merge 5 commits into
mainfrom
cbj/homepage-alerts-rewrite

Conversation

@thecristen

Copy link
Copy Markdown
Collaborator

Scope

The homepage's "Alerts" tab shows routes and stops which have important alerts.

My local load testing on the homepage has found that fetching and processing alerts is by far the most computationally intensive part of the homepage. This PR tries to make that more performant.

Implementation

Screenshots

How to test

@thecristen
thecristen force-pushed the cbj/homepage-alerts-rewrite branch from 2c80083 to 0aecec0 Compare July 31, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant