R3NXGFBSAGZC7KLTF5PMNSQJLWLEGLTXT4DEIB3DR5BXDOMVQYRQC
OUQ235WGXKCVFC75MB2C27ZMIFQRWVPQ35BSXCEE26A2V3NKG3MQC
IGL4QVNKJN6CBABXN3DMDT62S6SQ4NX3CK7VHRSD47IUN5V6YJYAC
YGPGWQDOODYLCB4IHOEZMXRVE76N5GJ2M2JS7DLXBGGK7VWKRGSAC
KM3TEIVBG6FP7H3AXNWYBIUSXRIN4ILGQY7TV2EQ5VCYQ6ER66YAC
KJK5LRQDGEQLVSS2SIOINZNNH6T4NKAJB24QWWSFLI3KZLLIDYPAC
2GEILJZTYWEJEMN4PWFQYLQXZZ44BVCJFM5XW35EUGS3GQZB3CPQC
Q76TG3J5E6NYS5AB2JV5J5GOE57K6IGGPAI5OAQAQVAXGO2LSAOAC
let mut child = Command::new(&spawn_actor.executable);
if spawn_actor.pass_id {
child.arg(uuid.to_string());
}
let mut child = child
.args(&spawn_actor.args)
let mut child = Command::new(&spawn_actor.executable)
.args(
&spawn_actor
.args
.iter()
.map(|s| s.replace("{ACTOR_ID}", &uuid.to_string()))
.collect::<Vec<_>>(),
)
This is an experiment to use unix processes as actors.
This is an experiment to use unix processes as actors. This is also probably the worst actor framework in existence,
but its quite small so there's that.
This will probably be outperformed be any halfway decent actor framework, because it uses the unix scheduler to schedule
its work. This simplifies the architecture quite a bit, so that everything that can read and write from stdin/stdout and
parse json can act as an actor in this system.
A props message takes the arguments from the props and spawns the executable according to the props.
A props message takes the arguments from the props and spawns the executable according to the props. If one of the
arguments contains the string "{ACTOR_ID}", then this will be replaced by the id of the actor itself.
.git
.DS_Store
.pijul
/target