Hasty Briefsbeta

Bilingual

Iroh-blobs 0.95 – New features – Iroh

6 months ago
  • #performance
  • #protocol
  • #networking
  • Iroh-blobs 0.95 introduces a new connection pool in `util::connection_pool` for managing concurrent connections efficiently.
  • The `ConnectionPool` API allows for basic and advanced usage, including configurable idle timeouts, connection limits, and setup before connection handoff.
  • Advanced features include awaiting direct connections before use, with future updates expected for QUIC multipath support.
  • The connection pool returns `ConnectionRef` instead of `Connection` to track usage, emphasizing correct usage patterns to avoid premature connection closure.
  • Abstract request and response streams now support wrapping in transforms like compression, enhancing flexibility without changing default behavior.
  • Enhanced provider events in iroh-blobs 0.93 allow detailed monitoring and interception of requests, with examples for limiting access by hash.
  • Future plans include multiprovider downloads for individual blobs and moving generic utilities to a separate crate post-iroh 1.0 release.