commit | 1153675376e6da1026a8f6e631f7ba26bc82c0b0 | [log] [tgz] |
---|---|---|
author | Daniel Gruno <humbedooh@apache.org> | Tue Apr 30 14:40:55 2024 -0500 |
committer | Daniel Gruno <humbedooh@apache.org> | Tue Apr 30 14:40:59 2024 -0500 |
tree | 7a4cee994c7d5e11848b21af56909bdd73e8b7ee | |
parent | 4e459ca7542d517d379daffcab4ef21d33cf9575 [diff] |
Fetch the last seven days from sqlite into memory, adjust JSON parsing stage As fetching build stats is quite memory and disk intensive, we will pull it into an async update loop instead. Tested locally, this sped up responses by 5x by keeping the last 7 days in memory. This does add about 1GB extra memory usage per 50,000 records kept, which should be fine for our current and future scope.
This serves as the basis for the ASF Infrastructure Reporting Dashboard, used to display various statistics and live charts on data pertaining to a wide variety of infrastructure aspects at the ASF as a unified dashboard.
WIP.