forked from fedora-copr/logdetective-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backend: create endpoint for downloading data created by cron
This solution raises two concerns for the future once we have a lot of data collected: - it will be a while until the data will be tarred - creating delay before actual download (after cca 200 feedbacks relly noticable delay :/) look at example with only 300 (tiny!!) feedbacks: [root@backend persistent]# time tar -zcf results.tar.gz results/ real m9.473s user m9.328s sys m0.483s - downloading takes also some time -> thus blocking the whole worker during this. IIRC we have 8 workers thus 8 downloads and API is unresponsive. Solution: - how to solve the delay before download: fedora-copr#64 - the issue above is the slowest, once that will be resolved and people still complain, do this: fedora-copr#65
- Loading branch information
Showing
2 changed files
with
58 additions
and
2 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