maidsafe / safe_network

72 stars 40 forks source link

networking: Performance tweaks #2010

Closed joshuef closed 1 month ago

joshuef commented 1 month ago

This pull request to sn_networking includes significant improvements to the handling of pending record queries, the introduction of a non-blocking command queue for network swarm commands, and various other enhancements to the codebase. The most important changes include adding support for handling multiple senders for pending record queries, introducing a non-blocking command queue for network swarm commands, and improving error handling and logging.

Enhancements to pending record queries:

Introduction of non-blocking command queue:

Other improvements:

These changes collectively enhance the efficiency, robustness, and maintainability of the networking component.