tqwewe
Joined 2 years ago
Joined 2 years ago
But with increased resources, I can see some solutions being considered around snapshotting. For now the goal is heavily unix philosophy inspired: a really fast and purpose built event sourcing database
I think a community, open source built project in Rust has been a missing piece I can hopefully help to solve.
So gracefully shutting down an actor with `actor_ref.stop_gracefully().await` will process all pending messages before stopping. But the actor itself can be forcefully stopped with `actor_ref.kill()`
I wasn't aware async_trait wasn't needed, thats nice to see.
Also congrats on it being used in such a big company, thats awesome! I have a lot of respect for ractor and appreciate your response
Kameo does have a `spawn_in_thread` function for CPU bound actors if needed.
In kameo, all actors run in a `tokio::spawn` task.
Blog: tqwewe.com Git: git.tqwewe.com