# Duet: Co-Optimizing P2P Message Propagation and Rotating-Leader Consensus

DevFeed: [Duet: Co-Optimizing P2P Message Propagation and Rotating-Leader Consensus](<https://devfeed.tech/articles/duet-co-optimizing-p2p-message-propagation-and-rotating-leader-consensus-131514.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2607.22209>)

Author: Yifeng Ye, Rongji Huang, Gerui Wang, Mingchao Wan, Yuxing Duan, Jingjing Zhang, Shengyun Liu

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [P2P](<https://devfeed.tech/topics/p2p.md>), [consensus algorithm](<https://devfeed.tech/topics/consensus-algorithm.md>), [Blockchain](<https://devfeed.tech/topics/blockchain.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>)

Tags: [amazon-ec2](<https://devfeed.tech/tags/amazon-ec2.md>), [blockchain](<https://devfeed.tech/tags/blockchain.md>), [broadcast](<https://devfeed.tech/tags/broadcast.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [latency](<https://devfeed.tech/tags/latency.md>), [leader](<https://devfeed.tech/tags/leader.md>), [libp2p](<https://devfeed.tech/tags/libp2p.md>), [message](<https://devfeed.tech/tags/message.md>), [network](<https://devfeed.tech/tags/network.md>), [nodes](<https://devfeed.tech/tags/nodes.md>), [optimizing](<https://devfeed.tech/tags/optimizing.md>), [p2p](<https://devfeed.tech/tags/p2p.md>), [regions](<https://devfeed.tech/tags/regions.md>), [state-machine](<https://devfeed.tech/tags/state-machine.md>), [throughput](<https://devfeed.tech/tags/throughput.md>), [topology](<https://devfeed.tech/tags/topology.md>), [trees](<https://devfeed.tech/tags/trees.md>)

## AI overview

Duet co-optimizes rotating-leader consensus and P2P message delivery by using blockchain's state-machine abstraction to record network topology and latency in a trusted, coordinated way. It combines faster leader rotation, reliable broadcast that normally uses tree dissemination and falls back to gossip when needed, and latency-aware dissemination trees. The prototype integrates with Tendermint and libp2p and was evaluated on Amazon EC2 with up to 300 nodes across 10 regions. Against gossip-based dissemination over the same topology, it reports up to 7.26x higher peak throughput.

## Source excerpt

arXiv:2607.22209v2 Announce Type: replace Abstract: In blockchain systems, peer-to-peer (P2P) overlay networks play a crucial role in providing reliable, scalable and efficient message-delivery services to upper layers. However, the consensus layer and the underlying P2P network remain mutually opaque in existing blockchains, waiving the opportunity for further improvement. In contrast to other P2P applications, blockchain can naturally be abstracted as a state machine. We therefore leverage this abstraction to record network topologies and latencies in a trusted and coordinated manner. With this support, we propose three improvements to rotating-leader consensus protocols and their underlying P2P networks: (1) accelerating leader rotation; (2) introducing a reliable-broadcast paradigm that employs tree-based dissemination in the normal case and falls back to gossip only when necessary; and (3) constructing latency-aware dissemination trees. We integrate the above ideas into Tendermint and libp2p, and conduct empirical evaluation on Amazon EC2 platform using up to 300 nodes distributed across 10 regions. The results demonstrate that, compared with gossip-based dissemination over the same topology, our prototype improves peak throughput by up to $7.26\times$.