Skip to content

Commit

Permalink
revert changes to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt committed Jun 7, 2023
1 parent 46cb64a commit c32f0c0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
## 🔦 Highlights <!-- omit in toc -->

### Smart Dialing <!-- omit in toc -->
* When connecting to a peer we now do dial prioritisation to prefer QUIC addresses over TCP addresses. We dial the QUIC addresses first and wait 250ms to dial the TCP addresses of the peer.
* In our experiments, we've seen the number of dial cancellations reduce by 50% with little impact on latencies up to 95th percentile. Two new metrics have been added to the swarm metrics, dial ranking delay and dials per connection to gauge the impact.
* To avoid adversely impacting users in UDP black holed environments, this feature is disabled by default.
* To enable use `libp2p.EnableSmartDialing` option.
* When connecting to a peer we now do [happy eyeballs](https://www.rfc-editor.org/rfc/rfc8305) like dial prioritisation to prefer QUIC addresses over TCP addresses. We dial the QUIC address first and wait 250ms to dial the TCP address of the peer.
* In our experiments we've seen little impact on latencies up to 80th percentile. 90th and 95th percentile latencies are impacted. For details see discussion on the [PR](https://github.com/libp2p/go-libp2p/pull/2260#issuecomment-1528848170).
* For details of the address ranking logic see godoc for `swarm.DefaultDialRanker`.

* To disable smart dialing and keep the old behaviour use the
`libp2p.NoDelayNetworkDialRanker` option.

# [v0.27.0](https://github.com/libp2p/go-libp2p/releases/tag/v0.27.0)

Expand Down

0 comments on commit c32f0c0

Please sign in to comment.