HelloZeroNet / HelloZeroNet/ZeroNet
Using real database instead of using `.json` files as database
オープン
enhancement
- 主要言語
- JavaScript
- スター
- 18.8k
- フォーク
- 2.3k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 領域
- database
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100