You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue contains an overview of known limitations, bugs, missing features and chances for optimization for Iroh sync. It was mostly copied from the original PR overview (#1333) to get started.
Make fingerprinting calculation fast and do not allocate for each entry. And/or cache fingerprints to not recalculate everything, always.
sync store list_namespaces and list_authors internally collect, return iterator instead
Security
Use a cryptographic algorithm for fingerprint calculation in place of the current XOR algorithm
Make sure that we never leak the NamespaceId of a document (which is also used as TopicId for gossip), because the NamespaceId gives read-only access to a document.
Maybe make the TopicId a hash of the NamespaceId to reduce the surface of potential exposure?
This issue contains an overview of known limitations, bugs, missing features and chances for optimization for Iroh sync. It was mostly copied from the original PR overview (#1333) to get started.
Known bugs & limitations
iroh-sync
interface async #1502 Fixed in refactor(iroh-sync): Add actor to iroh-sync, remove deadlocks #1612sync_big
test pass reliably #1741Missing features
iroh_sync::Store::close_replica
: feat(sync): Addclose_replica
and enable subscriptions without active sync #1495Implementmaybe let's not do this to and keep authors device-local so we can assume linear insertsAuthorImport
andAuthorShare
RPC & CLI commandsReliability / performance / optimizations
iroh-net
: feat(iroh-net): persist known peer info #1488PeerAdd
andPeerList
RPC & CLI commands for a documentNeighborUp
event from the gossip layer. Make sure this reliably syncs often enough, and prevent double syncs. First step is better tracking, see feat(sync): track incoming sync requests, allow subscriptions without sync, close inactive replicas #1491list_namespaces
andlist_authors
internally collect, return iterator insteadSecurity
NamespaceId
of a document (which is also used asTopicId
for gossip), because theNamespaceId
gives read-only access to a document.TopicId
a hash of theNamespaceId
to reduce the surface of potential exposure?Other TODOs collected from the code
hammer
andfs
commands from REPL example to iroh cliiroh-sync
shouldn't depend oniroh-bytes
only forHash
type -> Iroh-common base library #1354iroh_sync
: Remove some items only used in tests (marked with #[cfg(test)])ranger::SimpleStore::get_range
: optimizeranger::Peer
avoid allocs?fs::StoreInstance::get_fingerprint
optimizeThe text was updated successfully, but these errors were encountered: