Wednesday, February 15, 2023
Show HN: Ractor – a Rust-based actor framework with clusters and supervisors https://ift.tt/vxrWpfw
Show HN: Ractor – a Rust-based actor framework with clusters and supervisors SOME HIGHLIGHTS. * We have a full supervision tree so actors can monitor other actors for exits and unhandled panic!s (at least the ones that can be caught) * The actor lifecycle is handled for you in a simple single-threaded, message handler primitive * You have a mutable state with each message handling call, so you have an easy way to create stateful actors and update that state as messages are processed * Actors talk to other actors by message passing, but there are remote-procedure-calls (RPCs) so actors can "ask a question" to another actor and wait on the reply. * A lot of the concurrency primitives are handled by the framework, such as cancellation/termination of actors (both graceful and forceful) * A Factory primitive in order to formulate distributed processing pools with multiple job routing options * Early but stable support for a distributed epmd-like cluster environment, where you can talk to actors over a network link. It's an additional crate (ractor_cluster) that builds on ractor to facilitate the inter-connection between nodes and support remote casts and calls to actors on a remote node. We're openly seeking feedback, so please feel free to utilize the library and let us know if there's anything you find missing or doesn't work as expected! https://ift.tt/L2yK1Ts February 16, 2023 at 06:32AM
Subscribe to:
Post Comments (Atom)
Show HN: OctAPI – Visualize API Routes Directly in VS Code https://ift.tt/v6irJtI
Show HN: OctAPI – Visualize API Routes Directly in VS Code Started noticing issues while working with friends that I thought only I was enco...
-
Show HN: High school robotics code/CAD/design binder release Hello HN! My name is Patrick, and I am a junior at my High School’s FRC robotic...
-
Show HN: D&D meets Siri – Interactive voice adventure Hey HN! I've been building tooling for voice-driven apps over the past few mon...
-
Show HN: I Made an AI Social Media Manager to Automate Content Creation Hey HN, I am a Solopreneur, and I love building apps to automate bor...
No comments:
Post a Comment