mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #679] Feature Request: subdivide archive/ directory into subdirectories #3449
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#3449
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @karlicoss on GitHub (Mar 27, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/679
Type
What is the problem that your feature request solves
I've tried to do some processing on my archive which had 100K+ items and it was really slow.
To be fair, it was also on HDD, not SSD (although I'd imagine it's also natural to store something like web archives on HDDs)!
However I believe another potential problem could be the large number of entries in
archive/directory. Currently the disk layout is such that you get aarchive/<timestamp>directory for each new link. This is often problematic on various filesystem, starting from being super slow on some, and ending with not working at all.You can read this stackexchange answer for more info.
Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes
It might be somewhat relevant to https://github.com/ArchiveBox/ArchiveBox/issues/74 -- if we used hashes then could adopt a similar format that
.git/objectsdir uses! Wonder what's the status of this?How badly do you want this new feature?
@pirate commented on GitHub (Mar 29, 2021):
Have you tried the v0.6/dev branch out of curiosity? It doesn't solve the directory entries problem in particular, but it should massively improve performance in a lot of areas by reducing disk reads where unecessary.
@karlicoss commented on GitHub (Mar 29, 2021):
Not yet!
I guess I was 'processing' it in shell, so in that sense the performance of archivebox itself wouldn't matter here.