HelloZeroNet / HelloZeroNet/ZeroNet
Using real database instead of using `.json` files as database
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Advanced of #1894
I found a performance bottleneck: `atomicWrite` of `sites.json`.
This is significant when seeding many sites + sites frequency update.
When using `.json` files as database, if one row updates, whole file need to rewrite.
When using real database, if one row updates, only related disk sector need to rewrite.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names only atomicWrite and sites.json, with no repository files or tests. Start by locating that write path and the seeding and frequency-update callers; clarify the database choice, migration scope, and measurable completion criteria before implementation.
Written by the indexing model from the issue text.
Assessment
- Domain
- database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100