A new Rusty web framework by asyncio contributor Nikolay Kim @fafhrd91https://twitter.com/newsycombinator/status/1001931719719751683 …
I use pyo3 and actix in production. We run actix in separate thread and send work from python via pyo3. I don’t think tokio event loop is good approach
-
-
It would be interesting to have tokio event loop in one thread, and actix-web in another. If you can have efficient communication between the two implemented in Rust you'd have the best of both worlds: fast Rust endpoints and not-so-slow Python endpoints.
-
I do t think it is possible to make tokio event loop as fast as uvloop. Thread to thread communication is easy
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.