Xuanwo commented on PR #4885:
URL: https://github.com/apache/opendal/pull/4885#issuecomment-2225176474

   > Since monoio runtime can't cooperate with tokio runtime on the same 
thread, this PR introduces a wrapper in `monoiofs` that wraps monoio runtime in 
a thread pool and provides a method that may be called in context of other 
runtimes to dispatch futures to the thread pool and execute it in context of 
monoio.
   > 
   > This is similar to the implementation of `compfs`, however since monoio 
doesn't provide a crate like `compio-dispatcher` to do these, I've implemented 
a minimal usable dispatcher here. This dispatcher implementation sends futures 
to threads at random (same as `compio-dispatcher`) without scheduling or load 
balancing, but it should serve for implementing rest of the service on top of 
it and we can improve its performance later if necessary.
   
   That sounds great. I recall @ihciah mentioning that they've done some work 
internally to make monoio compatible with the tokio runtime. Do you think this 
feature should be integrated into the upstream monoio?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to