#actor-system #actor #stream #actor-stream #spawn-process

uactor

The fastest and most modular actor system that doesn’t force you to pay for what you don’t need

16 releases (8 breaking)

0.9.1 Apr 17, 2024
0.8.1 Feb 7, 2024

#294 in Concurrency

Download history 35/week @ 2024-01-15 38/week @ 2024-01-22 8/week @ 2024-01-29 6/week @ 2024-02-05 1/week @ 2024-02-19 85/week @ 2024-02-26 1/week @ 2024-03-11 49/week @ 2024-04-01 333/week @ 2024-04-15

382 downloads per month

MIT license

53KB
1K SLoC

uActor

Overview

The fastest and most modular actor system that doesn’t force you to pay for what you don’t need

Examples

Examples can be found here.

Features

  1. Simplified creation of a tokio actor topic oriented actor
  2. Minimum boilerplate code
  3. Support different tokio channels including watch, broadcast, oneshot, mpsc.
  4. Each actor is able to listen up to 30 channels.
  5. Added support of actors with single real channel and routing messages to the defined handler
    Example: Single channel
  6. Added tick (actor call each n seconds/millis/etc) support
    Example: Interval
  7. Implemented Dependency Injection on pre-start stage to solve cross-references problem ("Actor#1" needs a reference to the "Actor#2", and "Actor#2" needs a reference to "Actor#1")
    Example: dependency injection

Other projects:

  1. Actix
  2. Ractor
  3. Tokactor
  4. tiny-tokio-actor

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in uActor by you, shall be licensed as MIT, without any additional terms or conditions.

Dependencies

~4.5–6MB
~106K SLoC