Faster Public Divergence Detection #3
Replies: 2 comments 8 replies
-
@b5 I'm tagging you because you might find this topic interesting! Feel free to tag Kasey too if you'd like: I'm not sure what her Github handle is, but her thoughts are also more than welcome 😄 |
Beta Was this translation helpful? Give feedback.
-
Via @matheus23 in the Discourse thread:
Oh, I like that! Since we also probably want to send a BUNCH of these at once, we can maintain them really easily as essentially |
Beta Was this translation helpful? Give feedback.
-
Fission has had a little bit of discussion over the past week around techniques for optimizing WNFS divergence search, and now that we have a Github organization for WebNativeFileSystem, we thought it'd be worthwhile to open up that thread for discussion!
The thread can be found here: https://talk.fission.codes/t/optimizing-public-wnfs-divergence-search/2534
The problem being solved is one of determining at what point two public WNFS trees have diverged, and I've offered up one proposal that uses hash targets to construct a sort of skip list over the revision history that might be used to efficiently navigate through it and perform these kinds of divergence searches.
We're pretty big fans of the idea internally, but there's obviously a lot of questions that still need to be answered around the specific implementation details, how the concepts should be named, and so on, so any any all feedback is welcome!
Some of the info in there may assume some context that hasn't been explicitly written down yet, so feel free to ask for clarifications if anything isn't clear :)
Beta Was this translation helpful? Give feedback.
All reactions