gateway: rollback IPNS
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go
- Lĩnh vực
- distributed-systems, networking
Hướng nghiên cứu
Bắt đầu với hành vi của ipfs name resolve -s $SOME_IPNS_NAME được mô tả trong issue và truy vết cách gateway serving chờ quá trình phân giải IPNS. Không có tệp mã nguồn hoặc test nào được nêu tên, vì vậy trước tiên hãy xác định các entry point của gateway và quá trình phân giải IPNS. Hoàn thành khi serving có thể bắt đầu từ bản ghi đầu tiên, giữ lại response và thay thế nó khi tìm thấy bản ghi tốt hơn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Currently IPNS over the DHT is very fast to find a record but it then waits for a while trying to contact various nodes trying to ensure this record is updated until a timeout is reached.
(see ipfs name resolve -s $SOME_IPNS_NAME)
We should start the gateway serving process as soon as the first record is found, but hold onto serving response.
If an other better record is found we can cancel the first request and make a new one, "rolling back".
Given reaching consensus on IPNS is often the longest thing before first byte, it would make the TTFB === IPNS resolution time, since initial data resolution (traversing path and ranges in the file until we find the first piece of data), provider record resolution and bitswap session building would be pipelined into quorum process.
Given bitswap sessions and the block cache it's also likely doing an outdated request first will accelerate the real request later. For example if I found you host an old version of some IPNS name, I think it's reasonable to optimistically ask you for the newer one when I learn about it even tho I didn't finished my provider record step yet.
- Ngôn ngữ chính
- Go
- Star
- 326
- Fork
- 165
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ipfs/boxo
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 46/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
-
need/triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
-
dif/medium effort/hours kind/enhancement P3 topic/devexp
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Issue tương tự
-
affects-8.5 component/session severity/moderate sig/transaction type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
harvester/harvester#12311 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
verifyrun --bracket-digest --credit: relative --witness is could-not-check, absolute path creditsĐang mởbug effort:s impact:low raised-by:desk risk:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
medici-finance/assay#6580 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
blinklabs-io/gouroboros#3026 ·
Maintainer thường phản hồi trong vòng 1 ngày