In Go goroutines makes this easier but not sure how to do this in Rust. I’ve been trying with Tokio and tasks but the code is not working.
I want millions of short lived tasks being spawned in the background running on few kernel threads and sending back the result to main thread. This will go on throughout the lifetime of the app.
Thanks and best regards