Scalability: Split `videos/<mediaid>` into `videos/<prefix>/<mediaid>` for more scalable storage on disk
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 267
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
Idea: To make this backwards compatible, store mediaid as `.` in database for files that are store in the new two-level hierarchy.
(`prefix` would be two first characters of the rest of the `mediaid`)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the code that persists mediaid values and maps them to videos/ paths, then trace how existing media is read from disk and the database. Done means new files use the two-level prefix/mediaid hierarchy while existing records and files remain readable through the proposed backwards-compatible representation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100