Skip to content

Commit

Permalink
refactor: replace collector with proper actors
Browse files Browse the repository at this point in the history
The actor model is a design pattern which fits our usecase very well.
Especially with the new registry, the pattern feels much better than
manually baking it ourselves.

Signed-off-by: Felix Hilgers <[email protected]>
  • Loading branch information
fhilgers committed Dec 11, 2024
1 parent 534bae9 commit 9b5008f
Show file tree
Hide file tree
Showing 12 changed files with 568 additions and 219 deletions.
206 changes: 206 additions & 0 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ nix = "0.29.0"
object = "0.36.5"
bytemuck = { version = "1.20.0" }
crossbeam = "0.8.4"
ractor = { version = "0.13.4", default-features = false }

[profile.dev]
panic = "abort"
Expand Down
2 changes: 2 additions & 0 deletions rust/backend/daemon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ async-broadcast = { workspace = true }
object = { workspace = true }
serde = { workspace = true }
crossbeam = { workspace = true }
bytemuck = { workspace = true }
ractor = { workspace = true, features = ["tokio_runtime"] }

[build-dependencies]
cargo_metadata = { workspace = true }
Expand Down
Loading

0 comments on commit 9b5008f

Please sign in to comment.