bytedance/monoio

glommio channel_mesh

112RG opened this issue · 2 comments

112RG commented

Hi just wanted to say thankyou for the great library.

I am wonder if there plans for a channel_mesh API like in glommio?

ihciah commented

Maybe not.
I looked at the code, it seems a channel implementation. Usually channel's impl does not couple with runtime(runtime provide it just for convenient).
You can always use a third-party channel implementation with any runtime. If you want to use it, I suggest you import their crate or fork the code to an independent crate.

Hi,

I think this should be relooked at. A channel_mesh implementation would likely be required for something like Sharding to be implemented, which is a feature I believe Monoio would really benefit from. Being able to shard requests to a specific thread would allow for stateful data to be saved without needing it to be sent or synchronized with another thread.