Cache payload should be compressed before storing
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Start by locating the Python package's on-disk cache write and read paths, then review how cached payloads are serialized. Implement zip compression for stored payloads and verify that compressed entries can still be retrieved correctly and that cache size is reduced.
Written by the indexing model from the issue text.
Description
Experiments show that an on disk cache compresses very well.
A 105MB cached payload compressed to 272KB with zip and 79KB with bzip2.
zip compression was much faster so seems like a good thing to implement.
The total cache size was 1.5GB and it came down to about 4MB after zip compression which is very manageable.
- Dominant language
- Python
- Stars
- 6
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100