slawlor / ractor

Rust actor framework
MIT License
1.3k stars 66 forks source link

Improvements to the factory construct #237

Closed slawlor closed 1 month ago

slawlor commented 1 month ago
  1. Draining of requests
  2. Lifecycle hooks
  3. Worker startup custom arguments which can be thread through the factory's worker builder
  4. Discarding reasoning
  5. Automatic adjustment of the worker pool size and discard limits as well as support for front and rear loadshedding.
  6. Support for trait-based insertion of routing and queueing protocols, allowing downstream developers to define their own specific log per use-case.
  7. Movement of options from the factory's definition to the factory's arguments which reduces the need for cloning and can simply move ownership of the properties defined there.
  8. Sync-safe structures aren't cloned as boxes, rather referencing the same Arc instances

this additionally bumps the release version to 0.10.0 at the same time so we don't accidently publish on the 0.9 release version.