Our first implementation is incredibly slow, and failed to scale with increased threads. In order to fix this, we are implementing cache-aware batching of message processing, and an epoch-based actor rebalancing using shard pools.
23 lines
456 B
TOML
23 lines
456 B
TOML
[package]
|
|
name = "swactor"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
autobenches = false
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[features]
|
|
default = ["getrandom"]
|
|
getrandom = ["dep:getrandom"]
|
|
no_random = [] # compile without access to a source of randomness
|
|
stress = [] # Enable stress tests
|
|
|
|
[dependencies]
|
|
getrandom = { version = "0.2", optional = true }
|
|
crossbeam-queue = "0.3.12"
|
|
crossbeam-utils = "0.8.21"
|
|
|
|
[[bin]]
|
|
name = "bench"
|
|
path = "benches/main.rs"
|