NKID00 opened a new pull request, #4885:
URL: https://github.com/apache/opendal/pull/4885

   Part of #4552.
   
   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.
   
   


-- 
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