Skip to content

Conversation

@petrosagg
Copy link

The tokio implementation of mpsc channels seems to be more sophisticated and performant than the one in futures_channel. Since the channels used by the CopyBoth streams transfer a large amount of data during replication this PR switches the implementation to tokio.

This PR doesn't yet alter the size of the channels in order to do an apples to apples comparison. A subsequent test should be performed with larger buffers between the producer and consumer tasks.

The tokio implementation of mpsc channels seems to be more sophisticated
and performant than the one in futures_channel. Since the channels used
by the CopyBoth streams transfer a large amount of data during
replication this PR switches the implementation to tokio.

This PR doesn't yet alter the size of the channels in order to do an
apples to apples comparison. A subsequent test should be performed with
larger buffers between the producer and consumer tasks.

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
@petrosagg petrosagg requested a review from antiguru April 9, 2025 13:29
@reneleonhardt
Copy link

Hello, issues are closed so I'm commenting here.

Can master be synced with upstream?
Tags are very old, can a new release be published?

@petrosagg
Copy link
Author

hi @reneleonhardt, this repo is now synced with upstream

@petrosagg petrosagg closed this Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants