Bringing Widespread Performance & Stability Enhancements
We’re excited to announce that Bee v2.5.0 will be released in less than two weeks on March 11th! This update focuses on improving Bee node performance, reducing operational costs, and enhancing network stability.
Performance Enhancements
Increased Concurrency in Chunk Pushing
The number of concurrent chunks that can be pushed at once has been increased from 100 to 128. This change improves upload efficiency and throughput, leading to faster data propagation in the network and lower CPU usage for node operators.
Optimized Stamp Validation for Reduced Overhead
Previously, full and computationally costly stamp validation was required for every chunk before pushing to the next node as part of the chunk routing process. This has now been optimized to check only whether the batch is still valid, leading to reduced CPU usage.
More Efficient Routing & Peer Management
- Kademlia Optimization: The peer selection process has been optimized for reduced computational load and improved network traversal efficiency.
- Forwarder Nodes Optimization: Forwarder nodes will no longer check for shallow receipts, reducing unnecessary processing and optimizing routing behavior.
- Shallow Receipt Tolerance for Reserve Doubling: Chunks landing in the sister neighborhood of a node using the reserve doubling feature will no longer cause a “shallow receipt” error. Nodes will now apply extra tolerance to shallow receipts by a factor of the maximum allowed reserve doubling. This ensures that successful uploads do not return an irrelevant error.
Pushsync Multiplexer Bug Fix
A bug affecting pushsync multiplexing has been resolved, allowing nodes to push chunks to multiple peers concurrently. This fix will lead to substantial improvements in chunk distribution efficiency.
API & Configuration Improvements
- Updated OpenAPI Specs: The OpenAPI specifications for the
swarm-deferred-upload
value have been modified to the correct value of “true
”, and the relevant description was also updated. - Updated
/addresses
API: Theethereum
field is being deprecated and replaced bychain_address
in the/addresses
response for a increasingly chain-agnostic approach. - Improved
/pins
Endpoint: This endpoint now returns an empty array instead ofnull
when no content is pinned, ensuring better API consistency.
Various Bug Fixes & Stability Improvements
A variety of other smaller performance improvements and bug fixes are also included in the 2.5.0 release. For the complete list of all these changes, refer to the 2.5.0 release notes from the Bee releases page.
Looking Ahead
Bee v2.5.0 lays the foundation to make Swarm even more robust and efficient. In the following releases we aim to continue to refine the user experience for Swarm node operators and developers with continual improvements to node performance, network sustainability, and user experience.
For further support, join the Swarm Discord community and follow us on Twitter/X to stay updated!
Discussions about Swarm can be found on Reddit.
All tech support and other channels have moved to Discord!
Please feel free to reach out via info@ethswarm.org
Join the newsletter! .