nexus-actor-rs
nexus-actor-rs embodies the essence of the Actor Model, cleverly combining "Nexus" (connection, linkage, or center) with "actor" and the Rust programming language suffix "rs". This name represents the core principles of our project for the following reasons:
- Connection and Interaction: Nexus symbolizes the central point where various elements connect, reflecting the communication and interaction concepts in the Actor Model. The "actor" part emphasizes the active nature of these connections.
- Distribution and Integration: It illustrates how the distributed elements (Actors) of a system are interconnected, forming a cohesive whole. The "rs" suffix directly indicates the project's implementation in Rust, known for its focus on safe concurrency.
- Flexibility and Resilience: Nexus suggests a dynamically formed connection point, implying the system's flexibility and resilience. The straightforward structure of "actor-rs" reflects this clarity in its very name.
- Abstract yet Tangible Concept: While Nexus represents the essential structure and behavior of the system, "actor-rs" grounds it in the concrete implementation of actors in Rust.
- Multifaceted Meaning: nexus-actor-rs comprehensively expresses the diverse aspects of the Actor Model—computation, communication, structure, and interaction—while also clearly indicating the project's technical foundation.
nexus-actor-rs integrates the core characteristics of the Actor Model—distribution, interaction, modularity, and resilience—into a single, memorable concept. It represents not just the essence of the system's structure and behavior, but also embodies the practical spirit of the Rust community.
This name serves as a nexus itself, connecting the theoretical underpinnings of the Actor Model with the practical implementation in Rust, all while clearly communicating its purpose and technology stack.
Installation
To add nexus-actor-core-rs to your project, follow these steps:
-
Open your
Cargo.tomlfile. -
Add the following line to the
[dependencies]section:
= "${version}"
Specify the version number in ${version}, for example 0.0.1.
- If you want to use the latest version, you can check it by running:
cargo search nexus-actor-core-rs
- To update the dependencies, run the following command in your project's root directory:
cargo update
Now nexus-actor-rs is installed and ready to use in your project.
Note: As versions may be updated regularly, it's recommended to check for the latest version.
Developer Resources
- Typed Context / PID ガイドライン: ライフタイム指向設計に合わせた
ContextHandle/ActorContextの扱い方や、弱参照化ポリシーをまとめています。開発時はこちらを参照してください。 - Dispatcher Runtime ポリシー:
SingleWorkerDispatcherなど Runtime を内包する dispatcher 実装の shutdown 手順と運用上の注意点を整理しています。 - ベンチマークダッシュボード: GitHub Pages 上で週次ベンチのトレンドを確認できます。履歴 CSV は
benchmarks/history/bench_history.csvに公開されています。 - ActorContext ロック計測レポート: tokio-console/tracing を用いた ActorContext 周辺のロック待ち分析とホットスポットのまとめです。
- ReceiveTimeout DelayQueue PoC: DelayQueue を用いた receive timeout の再アーム性能ベースラインと PoC コードの解説です。
- Actor トレイト統一リリースノート: BaseActor 廃止と
ActorSpawnerExt追加に関する移行ガイドです。 - レガシーサンプル一覧: 互換性維持のため
core/examples/legacy/に隔離した旧サンプルの一覧です。