mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #513] Move ArchiveResults into the SQL db to avoid checking the filesystem for every Snapshot output status #3353
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#3353
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 @pirate on GitHub (Oct 24, 2020).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/513
Originally assigned to: @cdvv7788 on GitHub.
Right now archivebox.zervice.io is taking 6s+ to load because it has to check the filesystem many times for each row on the page during the template rendering process.
We can load the
ArchiveResults entries from thearchive/<timestamp>/index.jsonfiles into the sqlite3 db. This will eliminate checking each output path on the filesystem every time we want to see whether it completed or not.@cdvv7788 commented on GitHub (Oct 26, 2020):
I will create a model and associate its instances with the
Snapshotvia foreign keys. Is that what you have in mind? @pirate@cdvv7788 commented on GitHub (Dec 5, 2020):
@pirate can this be closed?