Zeiroh.FLAME.Backend (Zeiroh v0.1.0)

Copy Markdown View Source

Phoenix FLAME backend with Iroh and/or Zenoh membership overlay.

config :flame, :backend, {Zeiroh.FLAME.Backend,
  provisioner: :local,  # :docker | :fly | :k8s | :ec2
  overlay: :both,
  alpns: ["zeiroh/flame"],
  connect: "tcp/127.0.0.1:7447",
  key: "zeiroh/flame/runners",
  live: false
}

overlay: :iroh, :zenoh, or :both.

Local runner plus overlay advertise, or Crucible when provisioner is not :local and Crucible is loaded.

Summary

Functions

See Zeiroh.FLAME.Runner.handle_info/2.

See Zeiroh.FLAME.Runner.remote_spawn_monitor/2.

See Zeiroh.FLAME.Runner.system_shutdown/0.

Functions

handle_info(msg, state)

See Zeiroh.FLAME.Runner.handle_info/2.

init(opts)

remote_boot(state)

remote_spawn_monitor(state, func)

See Zeiroh.FLAME.Runner.remote_spawn_monitor/2.

system_shutdown()

See Zeiroh.FLAME.Runner.system_shutdown/0.