multithreaded tokio runtime? or single threaded? #506
Unanswered
jessekrubin
asked this question in
Q&A
Replies: 1 comment
-
The Python GIL does not negate the benefits of the tokio runtime as long as the Rust tasks are longer than the Python tasks. The Python tasks are extremely lightweight futures that just represent when the heavier Rust tasks finish. But I would like to make it user configurable how many cores tokio should use (or just better document the environment variable tokio uses to choose how many cores to use in the threadpool) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Howdy @kylebarron,
I was just curious if you have experimented with single vs multi threaded tokio runtimes and if so, did you find anything interesting?
Maybe a dumb question, but does the python gil negate the benefits of the tokio runtime?
Best,
jesse
Beta Was this translation helpful? Give feedback.
All reactions