-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PLUTON-19231 | Fewer database calls in VcLTagBuilder.prepare_redirects
Previously, related domains and domain mappings for a given cluster were fetched in a loop, performing many small selects In this change, two types of of data fetching procedures (acquiring all domain mappings, and static domain mappings for each cluster) have been moved to VclRendererInput, and the smaller chunks needed for rendering steps are obtained locally from simple data structures. In local testing, this resulted in roughly halving the time of the prepare_redirects rendering phase (from around 2 to around 0.9 seconds)
- Loading branch information
Showing
1 changed file
with
54 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters