AdguardTeam / AdguardTeam/AdGuardHome
Compress stats on harddrive
- Linguagem predominante
- TypeScript
- Estrelas
- 36.9k
- Forks
- 2.5k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
### Prerequisites
- [✔️] I am running the latest version
- [✔️] I checked the documentation and found no answer
- [✔️] I checked to make sure that this issue has not already been filed
### Problem Description
When having querylog enabled my harddisk gets filled. If simple compression would be enabled that easily could be reduced to an more acceptable size.
### Proposed Solution
Compress file before writing though either gzip or sth. before writing it to disk. It might even be an option to not write it to an json but instead use a database like sqlite which handles storage efficiency
### Additional Information
Just a short snapshot of my "real world data" which I compressed through `gzip -k` and `brotli -6`:
```
$ ls -lh querylog.*
-rw-r--r-- 1 me me 13G May 28 18:14 querylog.json
-rw-r--r-- 1 me me 25M May 28 18:14 querylog.json.br
-rw-r--r-- 1 me me 149M May 28 18:14 querylog.json.gz
```
I think the difference between "13G" and even "149M" in case of gzip is self-explanatory 😉
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.