Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
generate result pages as necessary
Previously, mostly due to the proof-of-concept design (collect all results in memory, sort them, then write them out to disk and let nginx serve them), we were writing the entire query to disk twice — once for the regular results, once for per-package results. For small queries, this is not a problem, but for big queries, that consumes a significant amount of disk space and spindle time. Therefore, we now generate (and cache!) the pages for which the client(s) ask. This is a multi-minute speed-up for big queries.
- Loading branch information
1 parent
eeb5d8e
commit c744b23
Showing
3 changed files
with
140 additions
and
85 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
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
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